]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/layout/layout.h
Fix, or at least make less common, deadlock in the thread sample.
[wxWidgets.git] / samples / layout / layout.h
index 4b9edcad45e97219af0bc970b13875f12b85c8f3..d932a00503812130f9a9ef3509b41bca70b545d9 100644 (file)
@@ -133,6 +133,17 @@ class MyWrapSizerFrame: public wxFrame
 {
 public:
     MyWrapSizerFrame(const wxString &title, int x, int y );
+
+private:
+    void OnAddCheckbox(wxCommandEvent& event);
+    void OnRemoveCheckbox(wxCommandEvent& event);
+
+    void DoAddCheckbox();
+
+    wxWindow* m_checkboxParent;
+    wxSizer* m_wrapSizer;
+
+    DECLARE_EVENT_TABLE()
 };
 
 // controls and menu constants