]> git.saurik.com Git - wxWidgets.git/commitdiff
Improved preprocessor guards for numeric dialogs.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 26 Jan 2006 15:33:27 +0000 (15:33 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 26 Jan 2006 15:33:27 +0000 (15:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/numdlgg.h
include/wx/numdlg.h

index 6e0e40f930a4efe60987898dc33cee3ac6594183..28594627458a62a2ef28777101b8780ea9a0e6de 100644 (file)
 #ifndef __NUMDLGH_G__
 #define __NUMDLGH_G__
 
-#if wxUSE_NUMBERDLG
-
 #include "wx/defs.h"
 
+#if wxUSE_NUMBERDLG
+
 #include "wx/dialog.h"
 
 #if wxUSE_SPINCTRL
@@ -77,4 +77,3 @@ wxGetNumberFromUser(const wxString& message,
 #endif // wxUSE_NUMBERDLG
 
 #endif // __NUMDLGH_G__
-
index 332bac3cb5c4b3b2d84fe00f54c72022bb623a78..ba8ea1cd7d2b831374d4dee1e012afd9a6263383 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef _WX_NUMDLGDLG_H_BASE_
 #define _WX_NUMDLGDLG_H_BASE_
 
+#include "wx/defs.h"
+
 #if wxUSE_NUMBERDLG
 
 #include "wx/generic/numdlgg.h"
@@ -19,4 +21,3 @@
 #endif // wxUSE_NUMBERDLG
 
 #endif // _WX_NUMDLGDLG_H_BASE_
-