]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dirdlg.cpp
Metrowerks Objective-C++ is more strict about types than Apple's.
[wxWidgets.git] / src / os2 / dirdlg.cpp
index 1dd38fa43a2d9701d976b3dc5b42ee35dd3c66ec..c4a85eef972f6374b0ad9bb8ad4e111e748fb1b4 100644 (file)
@@ -9,6 +9,10 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#ifdef __GNUG__
+    #pragma implementation "dirdlg.h"
+#endif
+
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #include "wx/os2/private.h"
 #include "wx/cmndata.h"
 
-#include <math.h>
 #include <stdlib.h>
 #include <string.h>
 
 #define wxDIALOG_DEFAULT_X 300
 #define wxDIALOG_DEFAULT_Y 300
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_CLASS(wxDirDialog, wxDialog)
-#endif
 
 wxDirDialog::wxDirDialog(wxWindow *parent, const wxString& message,
         const wxString& defaultPath,