]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/popupwin.cpp
Replaced SOCKLEN_T by WX_SOCKLEN_T to resolve conflict with AIX system headers.
[wxWidgets.git] / src / os2 / popupwin.cpp
index 5f80644ce166e8c8be30cbddfbfd518ad3675950..11f6b5d978abcebe93fcfe742900903a9248d34b 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef WX_PRECOMP
 #endif //WX_PRECOMP
 
 #ifndef WX_PRECOMP
 #endif //WX_PRECOMP
 
+#if wxUSE_POPUPWIN
 #include "wx/popupwin.h"
 
 // ============================================================================
 #include "wx/popupwin.h"
 
 // ============================================================================
@@ -75,3 +76,4 @@ WXDWORD wxPopupWindow::OS2GetStyle( long lFlags,
 
     return dwStyle;
 } // end of wxPopupWindow::OS2GetStyle
 
     return dwStyle;
 } // end of wxPopupWindow::OS2GetStyle
+#endif