]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/text/text.cpp
don't generate an endless stream of asserts for the 0-sized images
[wxWidgets.git] / samples / text / text.cpp
index d42dcf55754b9ca8ec98ed6787298159c947db67..30a3dc55dff3e0137965d054bb20f682df64329b 100644 (file)
@@ -685,7 +685,7 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
             else
             {
                 wxLogDebug( wxT("Stopped capturing mouse and events.") );
-                m_hasCapture = TRUE;
+                m_hasCapture = FALSE;
                 ReleaseMouse();
             }
             break;
@@ -831,7 +831,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
                                 wxPoint(450, 10), wxSize(230, 230),
                                 wxTE_RICH |
                                 wxTE_MULTILINE |
-                                wxTE_AUTO_URL |
+                                // wxTE_AUTO_URL |
                                 wxHSCROLL);
 
 #if 1