[wx-dev] question: why do I get error C2027: use of undefined type
'wxBookCtrlBase'
Cai, Xin
Xin.Cai at viasat.com
Thu Jun 5 13:20:14 PDT 2008
Hi guys
I am trying to use wxWidget using Visual Studio 2005 and I wrote a
simply program that displays a propertysheet and here is the code that I
have. I am trying to compile it as ascii debug.
MyPropertySheetDialog::MyPropertySheetDialog( wxWindow* parent, const
wxString & title )
: wxPropertySheetDialog(parent, -1, title, wxDefaultPosition,
wxSize(250,150))
{
CreateButtons(wxOK|wxCANCEL|wxHELP);
// Add page
wxPanel* panel = new wxPanel(GetBookCtrl(), ...);
GetBookCtrl()->AddPage(panel, wxT("General"));
LayoutDialog();
}
But for some strange reason when I try to compile it gives me an error
"error C2027: use of undefined type 'wxBookCtrlBase'" that message
doesn't make any sense to me at all. Any help you guys can offer would
appreciate it. Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20080605/a5fdaf8e/attachment.htm
More information about the wx-dev
mailing list