]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/objrefdlg.h
adding a app-defined event seems to quit inner eventloops like eg the popup of the...
[wxWidgets.git] / samples / xrc / objrefdlg.h
index da97d664f956339cf51e76c80d6d33ca448e4137..9d2481dee848ebc70f8cacfe3adf246fecc87fd1 100644 (file)
@@ -37,8 +37,22 @@ public:
     ~ObjrefDialog();
 
 private:
-    enum PageNumbers { first_page, copy_page, icons_page, calc_page };
-    enum CalcOperator { operator_plus, operator_minus, operator_multiply, operator_divide, operator_equals };
+    enum PageNumbers
+    {
+        first_page,
+        copy_page,
+        icons_page,
+        calc_page
+    };
+
+    enum CalcOperator
+    {
+        operator_plus,
+        operator_minus,
+        operator_multiply,
+        operator_divide,
+        operator_equals
+    };
 
     void OnNotebookPageChanged( wxNotebookEvent &event );
     void OnUpdateUIFirst(wxUpdateUIEvent& event);
@@ -52,8 +66,6 @@ private:
     wxNotebook *nb;
     wxTextCtrl *text;
     wxTextCtrl *result_txt;
-    bool iconspage_bound;
-    bool calcpage_bound;
     int current;
     int previous;
     bool operator_expected;