test/testnativew32.c
changeset 5062 e8916fe9cfc8
parent 3071 6f3308d4b6cd
child 5535 96594ac5fd1a
     1.1 --- a/test/testnativew32.c	Thu Jan 20 17:33:06 2011 -0800
     1.2 +++ b/test/testnativew32.c	Thu Jan 20 18:04:05 2011 -0800
     1.3 @@ -1,15 +1,15 @@
     1.4  
     1.5  #include "testnative.h"
     1.6  
     1.7 -#ifdef TEST_NATIVE_WIN32
     1.8 +#ifdef TEST_NATIVE_WINDOWS
     1.9  
    1.10 -static void *CreateWindowWin32(int w, int h);
    1.11 -static void DestroyWindowWin32(void *window);
    1.12 +static void *CreateWindowNative(int w, int h);
    1.13 +static void DestroyWindowNative(void *window);
    1.14  
    1.15 -NativeWindowFactory Win32WindowFactory = {
    1.16 -    "win32",
    1.17 -    CreateWindowWin32,
    1.18 -    DestroyWindowWin32
    1.19 +NativeWindowFactory WindowsWindowFactory = {
    1.20 +    "windows",
    1.21 +    CreateWindowNative,
    1.22 +    DestroyWindowNative
    1.23  };
    1.24  
    1.25  LRESULT CALLBACK
    1.26 @@ -29,7 +29,7 @@
    1.27  }
    1.28  
    1.29  static void *
    1.30 -CreateWindowWin32(int w, int h)
    1.31 +CreateWindowNative(int w, int h)
    1.32  {
    1.33      HWND hwnd;
    1.34      WNDCLASS wc;
    1.35 @@ -67,7 +67,7 @@
    1.36  }
    1.37  
    1.38  static void
    1.39 -DestroyWindowWin32(void *window)
    1.40 +DestroyWindowNative(void *window)
    1.41  {
    1.42      DestroyWindow((HWND) window);
    1.43  }