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:
Vadim Zeitlin
2000-08-27 15:42:15 +00:00
parent c21be757d6
commit bd9218ba08
20 changed files with 717 additions and 616 deletions

View File

@@ -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);
}