]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/popupcmn.cpp
initialize m_initialized to false to avoid spurious asserts
[wxWidgets.git] / src / common / popupcmn.cpp
index f4d9bd55c270682c36a65013b60c01e2e92f4d7d..6571388a34a1db8a3d334f2ed0f12160ecdda2d1 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "popupwinbase.h"
 #endif
 
@@ -28,7 +28,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_POPUPWIN && !defined(__WXMOTIF__)
+#if wxUSE_POPUPWIN
 
 #include "wx/popupwin.h"