1. introduced wxUniversal::wxWindow and moved wxControl drawing to it
2. wxStaticBox is more GTK-ish git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -131,7 +131,11 @@ END_EVENT_TABLE()
|
||||
|
||||
bool MyUnivApp::OnInitGui()
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
m_colourBg = *wxLIGHT_GREY;
|
||||
#else
|
||||
m_colourBg = wxColour(0xd6d6d6);
|
||||
#endif
|
||||
|
||||
if ( argc > 1 )
|
||||
{
|
||||
@@ -143,6 +147,8 @@ bool MyUnivApp::OnInitGui()
|
||||
// manually use the right colours
|
||||
if ( themeName == _T("gtk") )
|
||||
m_colourBg = wxColour(0xd6d6d6);
|
||||
else if ( themeName == _T("win32") )
|
||||
m_colourBg = *wxLIGHT_GREY;
|
||||
|
||||
wxTheme::Set(theme);
|
||||
}
|
||||
|
Reference in New Issue
Block a user