]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/listbox.h
removed wxUSE_MENU_CALLBACK references: the code inside the #if couldn't compile...
[wxWidgets.git] / include / wx / cocoa / listbox.h
index 479362e40e206d45528d85b62688bcedbee33b8d..6ada4abc57225398d14c897fec7c660efb74a072 100644 (file)
@@ -28,7 +28,7 @@ class WXDLLEXPORT wxListBox: public wxListBoxBase, protected wxCocoaNSTableView
 // initialization
 // ------------------------------------------------------------------------
 public:
-    wxListBox() { m_cocoaItems = NULL; }
+    wxListBox() { m_cocoaItems = NULL; m_cocoaDataSource = NULL; }
     wxListBox(wxWindow *parent, wxWindowID winid,
             const wxPoint& pos = wxDefaultPosition,
             const wxSize& size = wxDefaultSize,