Cleared up DEBUG define mess, defines are now called __WXDEBUG__ and WXDEBUG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,7 +37,7 @@ wxLayoutWindow::OnMouse(wxMouseEvent& event)
|
||||
m_FindPos.y = event.GetY();
|
||||
m_FoundObject = NULL;
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef WXDEBUG
|
||||
cerr << "OnMouse: " << m_FindPos.x << ',' << m_FindPos.y << endl;
|
||||
#endif
|
||||
Refresh();
|
||||
@@ -90,7 +90,7 @@ wxLayoutWindow::OnChar(wxKeyEvent& event)
|
||||
case WXK_RETURN:
|
||||
m_llist.LineBreak();
|
||||
break;
|
||||
#ifdef DEBUG
|
||||
#ifdef WXDEBUG
|
||||
case WXK_F1:
|
||||
m_llist.Debug();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user