Added to wxSystemSettings for better GTK+ themes compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -389,7 +389,7 @@ void MyFrame::FileOpen2(wxCommandEvent& WXUNUSED(event) )
|
||||
s_extDef = path.AfterLast(_T('.'));
|
||||
|
||||
wxLogMessage(_T("You selected the file '%s', remembered extension '%s'"),
|
||||
path, s_extDef);
|
||||
(const wxChar*) path, (const wxChar*) s_extDef);
|
||||
}
|
||||
|
||||
void MyFrame::FilesOpen(wxCommandEvent& WXUNUSED(event) )
|
||||
|
@@ -47,7 +47,7 @@ bool MyApp::OnInit()
|
||||
|
||||
// Problem with generic wxNotebook implementation whereby it doesn't size properly unless
|
||||
// you set the size again
|
||||
#if defined(__WIN16__)
|
||||
#if defined(__WIN16__) || defined(__WXMOTIF__)
|
||||
int width, height;
|
||||
frame->GetSize(& width, & height);
|
||||
frame->SetSize(-1, -1, width, height);
|
||||
|
Reference in New Issue
Block a user