From 2dd52041d08e6d6d40860cf4b7575ed9b6479aef Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 18 Mar 2006 16:53:42 +0000 Subject: [PATCH] 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 --- samples/listctrl/listtest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index c472a5fb2c..a46ffce6b9 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -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) ); -- 2.50.0