]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/numdlgg.cpp
fixed paper size calculation (convert from 10ths of mm to mm correctly)
[wxWidgets.git] / src / generic / numdlgg.cpp
index 96bbc485bf29186fd3758aa3b392fff40a55fc64..9fa5693a4d41c9ba2379577eb6f3b9ca4b9832c4 100644 (file)
@@ -18,7 +18,6 @@
 // ----------------------------------------------------------------------------
 
 #ifdef __GNUG__
-    #pragma interface "numdlgg.cpp"
     #pragma implementation "numdlgg.cpp"
 #endif
 
@@ -29,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_NUMBERDLG
+
 #ifndef WX_PRECOMP
     #include <stdio.h>
 
@@ -206,3 +207,5 @@ long wxGetNumberFromUser(const wxString& msg,
 
     return dialog.GetValue();
 }
+
+#endif // wxUSE_NUMBERDLG