]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/listbox/lboxtest.cpp
even controls with transparent background should draw it if they have an explicitly...
[wxWidgets.git] / samples / listbox / lboxtest.cpp
index d5dd01608f7181a2bcfd963a4b0bd49e42eb657a..6d5fd65b137c03192a65eb13fb695eaa4d362271 100644 (file)
@@ -322,6 +322,9 @@ END_EVENT_TABLE()
 
 bool LboxTestApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     wxFrame *frame = new LboxTestFrame(_T("wxListBox sample"));
     frame->Show();