]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/numdlgg.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / generic / numdlgg.h
index 700844b68e97ae8597d7b20396974427a1852c8b..11d9cfb07283eaf7245205f6f67e87806196a712 100644 (file)
@@ -6,26 +6,22 @@
 // Created:     07.02.04 (extracted from textdlgg.cpp)
 // RCS-ID:      $Id$
 // Copyright:   (c) wxWidgets team
 // Created:     07.02.04 (extracted from textdlgg.cpp)
 // RCS-ID:      $Id$
 // Copyright:   (c) wxWidgets team
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __NUMDLGH_G__
 #define __NUMDLGH_G__
 
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef __NUMDLGH_G__
 #define __NUMDLGH_G__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "numdlgg.h"
-#endif
+#include "wx/defs.h"
 
 #if wxUSE_NUMBERDLG
 
 
 #if wxUSE_NUMBERDLG
 
-#include "wx/defs.h"
-
 #include "wx/dialog.h"
 
 #if wxUSE_SPINCTRL
 #include "wx/dialog.h"
 
 #if wxUSE_SPINCTRL
-    class WXDLLEXPORT wxSpinCtrl;
+    class WXDLLIMPEXP_FWD_CORE wxSpinCtrl;
 #else
 #else
-    class WXDLLEXPORT wxTextCtrl;
+    class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 #endif // wxUSE_SPINCTRL
 
 // ----------------------------------------------------------------------------
 #endif // wxUSE_SPINCTRL
 
 // ----------------------------------------------------------------------------
@@ -81,4 +77,3 @@ wxGetNumberFromUser(const wxString& message,
 #endif // wxUSE_NUMBERDLG
 
 #endif // __NUMDLGH_G__
 #endif // wxUSE_NUMBERDLG
 
 #endif // __NUMDLGH_G__
-