stepasite
2014-04-01 08:54:17 UTC
Hi I when I try to add instance of wxGLCanvas into wxFrame via wxBoxSizer,
I get the following error:
wxWindow::DoGetSize(int*, int*) const + 44
wxWindowBase::GetSize() const + 41
wxSizerItem::DoSetWindow(wxWindow*) + 175
wxSizerItem::wxSizerItem(wxWindow*, int, int, int, wxObject*) + 332
wxSizerItem::wxSizerItem(wxWindow*, int, int, int, wxObject*) + 57
wxSizer::Add(wxWindow*, int, int, int, wxObject*) + 91 (sizer.h:1152)
wxFrame is parent of wxGLCanvas and wxFrame is set as top window. Also
Show() method was invoked before adding wxGLCanvas into wxFrame.
Why wxWidgets fail to obtain window size? Is anyone familiar with this
error?
Thanks in advance for any help,
Pavel
I get the following error:
wxWindow::DoGetSize(int*, int*) const + 44
wxWindowBase::GetSize() const + 41
wxSizerItem::DoSetWindow(wxWindow*) + 175
wxSizerItem::wxSizerItem(wxWindow*, int, int, int, wxObject*) + 332
wxSizerItem::wxSizerItem(wxWindow*, int, int, int, wxObject*) + 57
wxSizer::Add(wxWindow*, int, int, int, wxObject*) + 91 (sizer.h:1152)
wxFrame is parent of wxGLCanvas and wxFrame is set as top window. Also
Show() method was invoked before adding wxGLCanvas into wxFrame.
Why wxWidgets fail to obtain window size? Is anyone familiar with this
error?
Thanks in advance for any help,
Pavel
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users