1. wxSystemSettings class API face lift: better names for its methods
2. wxSystemSettings under wxUniv uses the wxTheme and wxColourScheme git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user