]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/objrefdlg.cpp
Applied patch containing small corrections to German translations.
[wxWidgets.git] / samples / xrc / objrefdlg.cpp
index 8d91b64601e5a553f3789fa8ca2fd20f60179671..3421f2dc8f8fad3dbcfba29324ef1975f3ce2aa8 100644 (file)
@@ -138,8 +138,6 @@ void ObjrefDialog::OnNotebookPageChanged( wxNotebookEvent &event )
                 ClearCalculator();
                 break;
             }
-
-         default: return;
     }
 }
 
@@ -255,7 +253,8 @@ void ObjrefDialog::OnOperatorClick(wxCommandEvent& event)
     {
         wxLogMessage("You clicked operators[%i], XRCID %d, 'Clear'",
                      ID, event.GetId());
-        return ClearCalculator();
+        ClearCalculator();
+        return;
     }
 
     switch(ID)