fixed crash introduced in rev. 187 for all non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,13 +164,13 @@ bool MyApp::OnInit()
|
||||
MyFrame::MyFrame(const wxChar *title)
|
||||
: wxFrame(NULL, wxID_ANY, title)
|
||||
{
|
||||
if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_SMALL)
|
||||
SetSize(wxSize(450, 340));
|
||||
|
||||
m_listCtrl = NULL;
|
||||
m_logWindow = NULL;
|
||||
m_smallVirtual = false;
|
||||
|
||||
if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_SMALL)
|
||||
SetSize(wxSize(450, 340));
|
||||
|
||||
// Give it an icon
|
||||
SetIcon( wxICON(mondrian) );
|
||||
|
||||
|
Reference in New Issue
Block a user