paint events cannot be constructed outside a native redraw in OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a2c8b98460
commit
f009da6ed5
@ -313,10 +313,11 @@ void EventPropagationTestCase::ScrollWindowWithoutHandler()
|
||||
|
||||
TestScrollWindow * const win = new TestScrollWindow(parent);
|
||||
|
||||
#ifndef __WXOSX__
|
||||
wxPaintEvent event(win->GetId());
|
||||
win->ProcessWindowEvent(event);
|
||||
CPPUNIT_ASSERT_EQUAL( "PD", g_str );
|
||||
|
||||
#endif
|
||||
g_str.clear();
|
||||
wxCommandEvent eventCmd(TEST_EVT);
|
||||
win->HandleWindowEvent(eventCmd);
|
||||
|
Loading…
Reference in New Issue
Block a user