pg
2014-09-03 15:01:02 UTC
Hello.
I am using wxSplitterWindow in MFC application on Windows. Parent window
is wxWindow created from CWnd (MFC version of wxWindow) handle.
Problem is wxSplitterWindow asserts during OnSize event. It tries to
cast parent pointer to wxTopLevelWindow and check for IsIconized flag.
The flag is supposed to always be false on Windows. After ignoring
warning splitter works fine.
Is this assert correct? Is there a way to avoid it without creating
floating wxDialog or wxFrame window as a parent?
Thanks,
Povilas
I am using wxSplitterWindow in MFC application on Windows. Parent window
is wxWindow created from CWnd (MFC version of wxWindow) handle.
Problem is wxSplitterWindow asserts during OnSize event. It tries to
cast parent pointer to wxTopLevelWindow and check for IsIconized flag.
The flag is supposed to always be false on Windows. After ignoring
warning splitter works fine.
Is this assert correct? Is there a way to avoid it without creating
floating wxDialog or wxFrame window as a parent?
Thanks,
Povilas
--
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