X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c01dd16299b565836009cc60d4e2fedeaa2221e..c1acc12983d95b1e3034d6a9b3b23db3038c694c:/samples/widgets/widgets.cpp diff --git a/samples/widgets/widgets.cpp b/samples/widgets/widgets.cpp index d4abcf4e08..b82505a420 100644 --- a/samples/widgets/widgets.cpp +++ b/samples/widgets/widgets.cpp @@ -43,6 +43,7 @@ #include "wx/bookctrl.h" #include "wx/sizer.h" #include "wx/colordlg.h" +#include "wx/textdlg.h" #include "widgets.h" @@ -232,7 +233,7 @@ bool WidgetsApp::OnInit() { if ( !wxApp::OnInit() ) return false; - + // the reason for having these ifdef's is that I often run two copies of // this sample side by side and it is useful to see which one is which wxString title; @@ -306,10 +307,10 @@ WidgetsFrame::WidgetsFrame(const wxString& title) // we have 2 panes: book with pages demonstrating the controls in the // upper one and the log window with some buttons in the lower - + int style = wxNO_FULL_REPAINT_ON_RESIZE|wxCLIP_CHILDREN|wxBC_DEFAULT; // Uncomment to suppress page theme (draw in solid colour) - // style |= wxNB_NOPAGETHEME; + //style |= wxNB_NOPAGETHEME; m_book = new wxBookCtrl(m_panel, wxID_ANY, wxDefaultPosition, wxDefaultSize, style);