X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f23a1c0f0975b642c226bdb1f8eebc08d48c745..3b7bc64a2a4cef84b584fe531da17b15eb269689:/samples/sashtest/sashtest.cpp diff --git a/samples/sashtest/sashtest.cpp b/samples/sashtest/sashtest.cpp index 6bcf61a6ce..5cfc8bda7c 100644 --- a/samples/sashtest/sashtest.cpp +++ b/samples/sashtest/sashtest.cpp @@ -21,8 +21,8 @@ #include "wx/mdi.h" #endif -#include -#include +#include "wx/toolbar.h" +#include "wx/laywin.h" #include "sashtest.h" @@ -146,7 +146,7 @@ MyFrame::MyFrame(wxWindow *parent, const wxWindowID id, const wxString& title, c // Another window to the left of the client window win = new wxSashLayoutWindow(this, ID_WINDOW_LEFT2, wxDefaultPosition, wxSize(200, 30), - wxNO_BORDER | wxSW_3 | wxCLIP_CHILDREND); + wxNO_BORDER | wxSW_3D | wxCLIP_CHILDREN); win->SetDefaultSize(wxSize(120, 1000)); win->SetOrientation(wxLAYOUT_VERTICAL); win->SetAlignment(wxLAYOUT_LEFT);