From 1e25a373d03909a80d28b393158fadd9a5968e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 26 Jan 2006 15:33:27 +0000 Subject: [PATCH] Improved preprocessor guards for numeric dialogs. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/numdlgg.h | 5 ++--- include/wx/numdlg.h | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/generic/numdlgg.h b/include/wx/generic/numdlgg.h index 6e0e40f930..2859462745 100644 --- a/include/wx/generic/numdlgg.h +++ b/include/wx/generic/numdlgg.h @@ -12,10 +12,10 @@ #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__ - diff --git a/include/wx/numdlg.h b/include/wx/numdlg.h index 332bac3cb5..ba8ea1cd7d 100644 --- a/include/wx/numdlg.h +++ b/include/wx/numdlg.h @@ -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_ -