]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/listbox.h
avoid GCC warning about type-punned pointer breaking strict aliasing rules
[wxWidgets.git] / include / wx / mac / carbon / listbox.h
index 91214b05b6d960354a7df3d25f41d37f9c79d062..9d4800171fcb5b7282fce1c901f87a169679812c 100644 (file)
@@ -89,8 +89,6 @@ public:
 
     // implement base class pure virtuals
     virtual void Refresh(bool eraseBack = true, const wxRect *rect = NULL);
 
     // implement base class pure virtuals
     virtual void Refresh(bool eraseBack = true, const wxRect *rect = NULL);
-    virtual void DoClear();
-    virtual void DoDeleteOneItem(unsigned int n);
 
     virtual unsigned int GetCount() const;
     virtual wxString GetString(unsigned int n) const;
 
     virtual unsigned int GetCount() const;
     virtual wxString GetString(unsigned int n) const;
@@ -110,6 +108,9 @@ public:
     wxMacListControl* GetPeer() const;
 
 protected:
     wxMacListControl* GetPeer() const;
 
 protected:
+    virtual void DoClear();
+    virtual void DoDeleteOneItem(unsigned int n);
+
     // from wxItemContainer
     virtual int DoInsertItems(const wxArrayStringsAdapter& items,
                               unsigned int pos,
     // from wxItemContainer
     virtual int DoInsertItems(const wxArrayStringsAdapter& items,
                               unsigned int pos,