]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/pickerbase.h
support SDK < 10.6, fixes #14902
[wxWidgets.git] / include / wx / pickerbase.h
index 16afd715f084699cb548cc5cb88b5a2410fa8833..8b9be3dd0fece0e00846be0fb68b0e7a57bcf985 100644 (file)
@@ -106,6 +106,11 @@ public:     // public API
     wxControl *GetPickerCtrl()
         { return m_picker; }
 
     wxControl *GetPickerCtrl()
         { return m_picker; }
 
+    void SetTextCtrl(wxTextCtrl* text)
+        { m_text = text; }
+    void SetPickerCtrl(wxControl* picker)
+        { m_picker = picker; }
+
     // methods that derived class must/may override
     virtual void UpdatePickerFromTextCtrl() = 0;
     virtual void UpdateTextCtrlFromPicker() = 0;
     // methods that derived class must/may override
     virtual void UpdatePickerFromTextCtrl() = 0;
     virtual void UpdateTextCtrlFromPicker() = 0;