]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
1) APPCONF_ constants renamed to wxCONFIG_
[wxWidgets.git] / include / wx / msw / private.h
index 1a7f7cfd65ad0460baab59157d19b872e8ac0e13..adaeb99ffc45bf6a38d970bd139ef1d0b91bee23 100644 (file)
@@ -43,8 +43,12 @@ wxFont WXDLLEXPORT wxCreateFontFromLogFont(LOGFONT *logFont); // , bool createNe
 #  ifdef __BORLANDC__
 #    define CASTWNDPROC
 #  else
-     typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long);
-#    define CASTWNDPROC (WndProcCast)
+#    ifdef __WIN32__
+       typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long);
+#      define CASTWNDPROC (WndProcCast)
+#    else
+#      define CASTWNDPROC
+#    endif
 #  endif
 #endif