]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/numdlgg.cpp
Sometimes, deleting code can be a real gain. This
[wxWidgets.git] / src / generic / numdlgg.cpp
index 95876e5d641cff72d261a6d244fbc741e05b3202..9fa5693a4d41c9ba2379577eb6f3b9ca4b9832c4 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_NUMBERDLG
+
 #ifndef WX_PRECOMP
     #include <stdio.h>
 
@@ -205,3 +207,5 @@ long wxGetNumberFromUser(const wxString& msg,
 
     return dialog.GetValue();
 }
+
+#endif // wxUSE_NUMBERDLG