]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/itemcontainer.h
don't call SetInsertionPointToEnd() on read-only combobox in wxGridCellChoiceEditor...
[wxWidgets.git] / samples / widgets / itemcontainer.h
index baa1982bb8f02af1a8d81a1bda5d97dda42f8516..59e26b308cff997464b811efaf653c46d0d73693 100644 (file)
@@ -10,9 +10,6 @@
 #ifndef _WX_SAMPLE_WIDGETS_ITEMCONTAINER_H_
 #define _WX_SAMPLE_WIDGETS_ITEMCONTAINER_H_
 
-// for compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
-
 #include "widgets.h"
 
 // define a common base class for sorted and normal string arrays
@@ -28,7 +25,7 @@ class ItemContainerWidgetsPage : public WidgetsPage
 public:
     ItemContainerWidgetsPage(WidgetsBookCtrl *book,
                              wxImageList *image_list,
-                             char* icon[]);
+                             const char *const icon[]);
     virtual ~ItemContainerWidgetsPage();
 
     void OnButtonTestItemContainer(wxCommandEvent& event);