]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/textctrl.cpp
make sure we are comparing the stripped strings
[wxWidgets.git] / src / mac / carbon / textctrl.cpp
index 82bf84e6dfab906e34e90432eeb082a248b2d3f1..f0893d9cb5b50619c0053de3c0aa49207b866228 100644 (file)
@@ -803,11 +803,11 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
         if ( scrollView )
         {
             HIViewAddSubview( scrollView , textView ) ;
-            m_macControl = scrollView ;
+            m_macControl = (WXWidget) scrollView ;
         }
         else
         {
-            m_macControl = textView ;
+            m_macControl = (WXWidget) textView ;
         }
 #else
         short featurSet;