]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dbtable.cpp
Improved selection mode handling in wxGrid::SelectBlock
[wxWidgets.git] / src / common / dbtable.cpp
index 2d2fe96e561c5668adb20f135e80a3ce41b80cd1..396ed696c09750e228f828804ba17e4d960feb9e 100644 (file)
@@ -55,6 +55,7 @@
         #include "wx/list.h"
         #include "wx/utils.h"
         #include "wx/msgdlg.h"
         #include "wx/list.h"
         #include "wx/utils.h"
         #include "wx/msgdlg.h"
+        #include "wx/log.h"
     #endif
     #include "wx/filefn.h"
 #endif
     #endif
     #include "wx/filefn.h"
 #endif
@@ -266,7 +267,7 @@ wxTable::~wxTable()
             {
                 found = TRUE;
                 if (!TablesInUse.DeleteNode(pNode))
             {
                 found = TRUE;
                 if (!TablesInUse.DeleteNode(pNode))
-                    wxLogDebug (s.GetData(),"Unable to delete node!");
+                    wxLogDebug (s.c_str(),"Unable to delete node!");
             }
             else
                 pNode = pNode->Next();
             }
             else
                 pNode = pNode->Next();