X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/badc44fe581ab0e9fef871874cd58bc03c204fa8..44b62d54c61e4a0989fcc0f24eecfe0bd883d72b:/src/univ/topluniv.cpp?ds=sidebyside diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index f9bfbeaa86..6dceed79d7 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -79,7 +79,7 @@ bool wxTopLevelWindow::Create(wxWindow *parent, if ( ms_drawDecorations == -1 ) { ms_drawDecorations = - !wxSystemSettings::GetCapability(wxSYS_CAN_DRAW_FRAME_DECORATIONS) + !wxSystemSettings::HasFeature(wxSYS_CAN_DRAW_FRAME_DECORATIONS) || wxGetEnv(wxT("WXDECOR"), NULL); // FIXME -- wxUniv should provide a way to force non-native decorations! // $WXDECOR is just a hack in absence of better wxUniv solution @@ -87,7 +87,7 @@ bool wxTopLevelWindow::Create(wxWindow *parent, if ( ms_canIconize == -1 ) { - ms_canIconize = wxSystemSettings::GetCapability(wxSYS_CAN_ICONIZE_FRAME); + ms_canIconize = wxSystemSettings::HasFeature(wxSYS_CAN_ICONIZE_FRAME); } if ( ms_drawDecorations )