]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
wxDialog now stays on top of its parent.
[wxWidgets.git] / src / gtk / textctrl.cpp
index 1039af2f372bdccd42e43f1ddeb6dc3cc517be50..d7a5312e13eed3fe58ed43dfdf2ba84bcd08e6af 100644 (file)
@@ -567,7 +567,7 @@ void wxTextCtrl::SetInsertionPoint( long pos )
 
         /* bring editable's cursor uptodate. bug in GTK. */
 
-        GTK_EDITABLE(m_text)->current_pos = pos;
+        GTK_EDITABLE(m_text)->current_pos = (guint32)pos;
     }
 }