]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/listdb.cpp
cleanup of raw access to bitmaps:
[wxWidgets.git] / samples / db / listdb.cpp
index 8ceb64352ad8ce534ad4861255db01f648f9b461..07ced21b60f05854eac30836ba877deb35b9030a 100644 (file)
@@ -362,7 +362,7 @@ ClookUpDlg::ClookUpDlg(wxWindow *parent, const wxString &windowTitle, const wxSt
     }
 
     // Query the actual record set
-    if (selectStmt && wxStrlen(selectStmt))    // Query by sql stmt passed in
+    if ( (const char*) selectStmt && wxStrlen(selectStmt))    // Query by sql stmt passed in
     {
         if (!lookup2->QueryBySqlStmt(selectStmt))
         {
@@ -513,6 +513,6 @@ void ClookUpDlg::OnCommand(wxWindow& win, wxCommandEvent& WXUNUSED(event))
 
     }
 
-};  // ClookUpDlg::OnCommand
+}  // ClookUpDlg::OnCommand
 
 // *********************************** listdb.cpp **********************************