X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec5f0c24123fe801fb82b69771c171c0b9d064fc..908f91bce9bfe08204447ed7217a38625ecacc64:/src/msw/dialog.cpp diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 33f2cbf86f..cda785f0b3 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -43,9 +43,7 @@ #include "wx/evtloop.h" #include "wx/ptr_scpd.h" -#if wxUSE_COMMON_DIALOGS && !defined(__WXMICROWIN__) - #include -#endif +#include "wx/msw/wrapcdlg.h" #if defined(__SMARTPHONE__) && defined(__WXWINCE__) #include "wx/msw/wince/resources.h" @@ -463,7 +461,7 @@ bool wxDialog::DoOK() event.SetEventObject(this); return GetEventHandler()->ProcessEvent(event); - } + } } #endif @@ -484,7 +482,7 @@ wxToolBar *wxDialog::OnCreateToolBar(long style, return new wxToolMenuBar(this, winid, wxDefaultPosition, wxDefaultSize, style, name); -} +} #endif // ---------------------------------------------------------------------------