]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/popupwin.cpp
use ES_RIGHT|ES_NUMBER styles for the buddy control as it's used for numeric entry...
[wxWidgets.git] / src / os2 / popupwin.cpp
index 5f80644ce166e8c8be30cbddfbfd518ad3675950..346d6c87d4009fc11e6a24bca51c72584cfc46f5 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "popup.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -28,6 +24,7 @@
 #ifndef WX_PRECOMP
 #endif //WX_PRECOMP
 
+#if wxUSE_POPUPWIN
 #include "wx/popupwin.h"
 
 // ============================================================================
@@ -75,3 +72,4 @@ WXDWORD wxPopupWindow::OS2GetStyle( long lFlags,
 
     return dwStyle;
 } // end of wxPopupWindow::OS2GetStyle
+#endif