X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b5f3fe655deeb91d5d3abe8fad30c4a1cae63dc..a54d6c1bbb35f6adce30704c987496acc0337020:/samples/tab/test.cpp diff --git a/samples/tab/test.cpp b/samples/tab/test.cpp index 734025be6c..5c9fd419e3 100644 --- a/samples/tab/test.cpp +++ b/samples/tab/test.cpp @@ -50,9 +50,6 @@ bool MyApp::OnInit(void) void MyApp::InitTabView(wxPanelTabView* view, wxWindow* window) { - int dialogWidth = 365; - int dialogHeight = 390; - m_okButton = new wxButton(window, wxID_OK, "Close", wxPoint(-1, -1), wxSize(80, 25)); m_cancelButton = new wxButton(window, wxID_CANCEL, "Cancel", wxPoint(-1, -1), wxSize(80, 25)); m_helpButton = new wxButton(window, wxID_HELP, "Help", wxPoint(-1, -1), wxSize(80, 25)); @@ -210,9 +207,6 @@ void MyFrame::OnCloseWindow(wxCloseEvent& WXUNUSED(event) ) void MyFrame::Init(void) { - int dialogWidth = 365; - int dialogHeight = 390; - m_panel = new wxTabbedPanel(this, -1); // Note, omit the wxTAB_STYLE_COLOUR_INTERIOR, so we will guarantee a match