]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/db/listdb.cpp
no changes, just fix typos in comments
[wxWidgets.git] / samples / db / listdb.cpp
index e05bf1b58797cb6de1aae105be542ce6a7e3b4eb..07ced21b60f05854eac30836ba877deb35b9030a 100644 (file)
 // SYNOPSIS STOP
 */
 
-#ifdef __GNUG__
-#pragma implementation "listdb.h"
-#endif
-
 #include  "wx/wxprec.h"
 
 #ifdef    __BORLANDC__
@@ -366,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))
         {
@@ -517,6 +513,6 @@ void ClookUpDlg::OnCommand(wxWindow& win, wxCommandEvent& WXUNUSED(event))
 
     }
 
-};  // ClookUpDlg::OnCommand
+}  // ClookUpDlg::OnCommand
 
 // *********************************** listdb.cpp **********************************