]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/studio/mainfrm.cpp
Rebake after adding libs html and xml to samples using lib adv
[wxWidgets.git] / contrib / samples / ogl / studio / mainfrm.cpp
index 4a7e4ac4b3a34418a9977a9f210c17a914f8e0a0..cc4730c01f72e7ba512cad665e0560654d4a2b58 100644 (file)
@@ -80,9 +80,11 @@ void csFrame::OnHelp(wxCommandEvent& WXUNUSED(event))
 
 void csFrame::OnSettings(wxCommandEvent& WXUNUSED(event))
 {
+#if wxUSE_WX_RESOURCES
     csSettingsDialog* dialog = new csSettingsDialog(this);
     /* int ret = */ dialog->ShowModal();
     dialog->Destroy();
+#endif // wxUSE_WX_RESOURCES
 }
 
 void csFrame::OnQuit(wxCommandEvent& WXUNUSED(event))