Revert "Add guard over wxMSWDateControls"
This reverts commit f1fa6d5ea2 which
doesn't seem correct nor necessary.
This commit is contained in:
parent
09aa25ab4a
commit
a34bedd7b5
2 changed files with 0 additions and 4 deletions
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
#include "wx/msw/wrapwin.h"
|
||||
|
||||
#if wxUSE_DATEPICKCTRL || wxUSE_CALENDARCTRL
|
||||
// namespace for the helper functions related to the date controls
|
||||
namespace wxMSWDateControls
|
||||
{
|
||||
|
|
@ -25,7 +24,6 @@ namespace wxMSWDateControls
|
|||
extern bool CheckInitialization();
|
||||
|
||||
} // namespace wxMSWDateControls
|
||||
#endif // wxUSE_DATEPICKCTRL || wxUSE_CALENDARCTRL
|
||||
|
||||
#endif // _MSW_PRIVATE_DATECONTROLS_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -62,10 +62,8 @@ wxDateTimePickerCtrl::MSWCreateDateTimePicker(wxWindow *parent,
|
|||
const wxValidator& validator,
|
||||
const wxString& name)
|
||||
{
|
||||
#if wxUSE_DATEPICKCTRL || wxUSE_CALENDARCTRL
|
||||
if ( !wxMSWDateControls::CheckInitialization() )
|
||||
return false;
|
||||
#endif // wxUSE_DATEPICKCTRL || wxUSE_CALENDARCTRL
|
||||
|
||||
// initialize the base class
|
||||
if ( !CreateControl(parent, id, pos, size, style, validator, name) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue