Improved preprocessor guards for numeric dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,10 +12,10 @@
|
|||||||
#ifndef __NUMDLGH_G__
|
#ifndef __NUMDLGH_G__
|
||||||
#define __NUMDLGH_G__
|
#define __NUMDLGH_G__
|
||||||
|
|
||||||
#if wxUSE_NUMBERDLG
|
|
||||||
|
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
|
#if wxUSE_NUMBERDLG
|
||||||
|
|
||||||
#include "wx/dialog.h"
|
#include "wx/dialog.h"
|
||||||
|
|
||||||
#if wxUSE_SPINCTRL
|
#if wxUSE_SPINCTRL
|
||||||
@@ -77,4 +77,3 @@ wxGetNumberFromUser(const wxString& message,
|
|||||||
#endif // wxUSE_NUMBERDLG
|
#endif // wxUSE_NUMBERDLG
|
||||||
|
|
||||||
#endif // __NUMDLGH_G__
|
#endif // __NUMDLGH_G__
|
||||||
|
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
#ifndef _WX_NUMDLGDLG_H_BASE_
|
#ifndef _WX_NUMDLGDLG_H_BASE_
|
||||||
#define _WX_NUMDLGDLG_H_BASE_
|
#define _WX_NUMDLGDLG_H_BASE_
|
||||||
|
|
||||||
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_NUMBERDLG
|
#if wxUSE_NUMBERDLG
|
||||||
|
|
||||||
#include "wx/generic/numdlgg.h"
|
#include "wx/generic/numdlgg.h"
|
||||||
@@ -19,4 +21,3 @@
|
|||||||
#endif // wxUSE_NUMBERDLG
|
#endif // wxUSE_NUMBERDLG
|
||||||
|
|
||||||
#endif // _WX_NUMDLGDLG_H_BASE_
|
#endif // _WX_NUMDLGDLG_H_BASE_
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user