]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp.in
conversion warning gcc 3.3 mac
[wxWidgets.git] / src / stc / stc.cpp.in
index d94ba9ac68f65d9f9564bc84b0894aaf41d52eee..f8fb2d1cc612284a74551aa901a0f9843d9ba98b 100644 (file)
@@ -150,6 +150,9 @@ void wxStyledTextCtrl::Create(wxWindow *parent,
                                    long style,
                                    const wxString& name)
 {
+#ifdef __WXMAC__
+    style |= wxVSCROLL | wxHSCROLL;
+#endif
     wxControl::Create(parent, id, pos, size,
               style | wxWANTS_CHARS | wxCLIP_CHILDREN,
               wxDefaultValidator, name);
@@ -538,6 +541,11 @@ void wxStyledTextCtrl::OnListBox(wxCommandEvent& WXUNUSED(evt)) {
 }
 
 
+void wxStyledTextCtrl::OnIdle(wxIdleEvent& evt) {
+    m_swx->DoOnIdle(evt);
+}
+
+
 //----------------------------------------------------------------------
 // Turn notifications from Scintilla into events