]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ownerdrw.cpp
implementation changes to closer follow MSW, crashes fixed
[wxWidgets.git] / src / msw / ownerdrw.cpp
index 615db170768c74678d2160497ed88601e5c9f4ac..665acc4c9d8d9d7650a80650b5d9fe1fc2819cb1 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation
 #endif
 
 #pragma implementation
 #endif
 
   #include "wx/dcmemory.h"
   #include "wx/menu.h"
   #include "wx/utils.h"
   #include "wx/dcmemory.h"
   #include "wx/menu.h"
   #include "wx/utils.h"
-  #include "wx/module.h"
 #endif
 
 #include "wx/settings.h"
 #include "wx/ownerdrw.h"
 #include "wx/menuitem.h"
 #include "wx/fontutil.h"
 #endif
 
 #include "wx/settings.h"
 #include "wx/ownerdrw.h"
 #include "wx/menuitem.h"
 #include "wx/fontutil.h"
+#include "wx/module.h"
 
 #if wxUSE_OWNER_DRAWN
 
 
 #if wxUSE_OWNER_DRAWN