]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/listbox.h
Only define wxIntegerHash::longlongHash when long long isn't long
[wxWidgets.git] / include / wx / univ / listbox.h
index d837a94b04ae1886c209d91c98b8459d65fc1abb..6ab126f1decc74cb72d42681aa62bcc173693e10 100644 (file)
@@ -52,7 +52,7 @@ class WXDLLEXPORT wxListBox : public wxListBoxBase, public wxScrollHelper
 {
 public:
     // ctors and such
-    wxListBox() { Init(); }
+    wxListBox() : wxScrollHelper(this) { Init(); }
     wxListBox(wxWindow *parent,
               wxWindowID id,
               const wxPoint& pos = wxDefaultPosition,
@@ -61,6 +61,7 @@ public:
               long style = 0,
               const wxValidator& validator = wxDefaultValidator,
               const wxString& name = wxListBoxNameStr )
+        : wxScrollHelper(this)
     {
         Init();