]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
wxTREE_INSERT_XXX constants were incorrectly defined (and so inserting the
[wxWidgets.git] / include / wx / msw / private.h
index 1a7f7cfd65ad0460baab59157d19b872e8ac0e13..6fb4b4af7f6d89070edd7f6083d748753f2e035e 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)
+#    if defined (__WIN32__) && defined(STRICT)
+       typedef long (_stdcall * WndProcCast) (HWND, unsigned int, unsigned int, long);
+#      define CASTWNDPROC (WndProcCast)
+#    else
+#      define CASTWNDPROC
+#    endif
 #  endif
 #endif