]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/textctrl.cpp
commented out controlDef for carbon
[wxWidgets.git] / src / mac / carbon / textctrl.cpp
index 141042b1aea070a11374ca6a806c073f631beea3..196f5344da14ce5a913a6c9d8f88ba4c3fc70413 100644 (file)
@@ -1217,8 +1217,8 @@ void wxTextCtrl::Clear()
   }
   else
   {
-            ClearCurrentScrap();
-            TXNClear((TXNObject)m_macTXN); 
+        TXNSetSelection( (TXNObject)m_macTXN , kTXNStartOffset , kTXNEndOffset ) ;
+        TXNClear((TXNObject)m_macTXN); 
   }
     Refresh() ;
 }