X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e7c2aa5822f9a6e97d8d7848b95ea2eadcd98b..c0ed460c2e7802793d591c84f3cfdbff159c5549:/src/common/cmndata.cpp?ds=sidebyside diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 19d2589a38..e32e8a0b31 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -22,6 +22,7 @@ #ifndef WX_PRECOMP #include +#include "wx/string.h" #include "wx/utils.h" #include "wx/app.h" #endif @@ -331,7 +332,7 @@ wxPageSetupData::wxPageSetupData(void) wxPageSetupData::~wxPageSetupData(void) { -#if defined(__WIN95__) +#if defined(__WIN95__) && defined(__WXMSW__) PAGESETUPDLG *pd = (PAGESETUPDLG *)m_pageSetupData; if ( pd && pd->hDevMode ) GlobalFree(pd->hDevMode); @@ -358,7 +359,7 @@ void wxPageSetupData::operator=(const wxPageSetupData& data) m_enableHelp = data.m_enableHelp; } -#if defined(__WIN95__) +#if defined(__WXMSW__) && defined(__WIN95__) void wxPageSetupData::ConvertToNative(void) { PAGESETUPDLG *pd = (PAGESETUPDLG*) m_pageSetupData;