Applied #487077: updates/fixes for BCC32

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2001-12-01 14:52:00 +00:00
parent f1104df133
commit f2d0790b1a
5 changed files with 144 additions and 82 deletions

View File

@@ -23,6 +23,10 @@
#include "wx/tab.h"
#include "tab.h"
#if wxUSE_TAB_DIALOG == 0
#error "wxUSE_TAB_DIALOG must be defined as 1 in setup.h."
#endif
// If 1, use a dialog. Otherwise use a frame.
#define USE_TABBED_DIALOG 1
@@ -166,7 +170,7 @@ void MyDialog::Init(void)
// Note, omit the wxTAB_STYLE_COLOUR_INTERIOR, so we will guarantee a match
// with the panel background, and save a bit of time.
wxPanelTabView *view = new wxPanelTabView(this, wxTAB_STYLE_DRAW_BOX);
wxPanelTabView *view = new wxPanelTabView((wxPanel *)this, wxTAB_STYLE_DRAW_BOX);
wxGetApp().InitTabView(view, this);