]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/listbox.h
Works a little better when you remember to say "virtual"
[wxWidgets.git] / include / wx / univ / listbox.h
index 363f523ac8947f42ac50c9e37b5018e31f516fed..6f00f1d6c2a65a6515e0d95ff85af71d6029a4d8 100644 (file)
 #ifndef _WX_UNIV_LISTBOX_H_
 #define _WX_UNIV_LISTBOX_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univlistbox.h"
 #endif
 
 #include "wx/scrolwin.h"    // for wxScrollHelper
+#include "wx/dynarray.h"
 
 // ----------------------------------------------------------------------------
 // the actions supported by this control
@@ -168,6 +169,8 @@ public:
     // let wxColourScheme choose the right colours for us
     virtual bool IsContainerWindow() const { return TRUE; }
 
+    // idle processing
+    virtual void OnInternalIdle();
 protected:
     // geometry
     virtual wxSize DoGetBestClientSize() const;
@@ -182,7 +185,6 @@ protected:
     void Init();
 
     // event handlers
-    void OnIdle(wxIdleEvent& event);
     void OnSize(wxSizeEvent& event);
 
     // common part of Clear() and DoSetItems(): clears everything