]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/pickerbase.h
Replace wxControlContainer-related macros with wxNavigationEnabled<>.
[wxWidgets.git] / include / wx / pickerbase.h
index 1982838cc28906d4fe7d20f996d241b9573508d3..1d6b383cd8c70ca78ab96aaa5513e57804bb412a 100644 (file)
@@ -32,12 +32,12 @@ extern WXDLLIMPEXP_DATA_CORE(const char) wxButtonNameStr[];
 
 #define wxPB_USE_TEXTCTRL           0x0002
 
-class WXDLLIMPEXP_CORE wxPickerBase : public wxControl
+class WXDLLIMPEXP_CORE wxPickerBase : public wxNavigationEnabled<wxControl>
 {
 public:
     // ctor: text is the associated text control
     wxPickerBase() : m_text(NULL), m_picker(NULL), m_sizer(NULL)
-        { WX_INIT_CONTROL_CONTAINER(); }
+        { }
     virtual ~wxPickerBase() {}
 
 
@@ -179,9 +179,6 @@ protected:
 private:
     DECLARE_ABSTRACT_CLASS(wxPickerBase)
     DECLARE_EVENT_TABLE()
-
-    // This class must be something just like a panel...
-    WX_DECLARE_CONTROL_CONTAINER();
 };