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_ -