Use wxScrollWinEvent instead of wxScrollEvent in
wxWindow and wxScrolledWindow. This breaks all ports! Added Layout() call to wxSplitter. wxDialog at least tries to set its position before its shown. wxGTK now emits char/key events as wxMSW does. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,8 +164,8 @@ wxScrollEvent::wxScrollEvent(wxEventType commandType,
|
||||
wxScrollWinEvent::wxScrollWinEvent(wxEventType commandType,
|
||||
int pos,
|
||||
int orient)
|
||||
: wxEvent(commandType)
|
||||
{
|
||||
m_eventType = commandType;
|
||||
m_extraLong = orient;
|
||||
m_commandInt = pos;
|
||||
}
|
||||
|
Reference in New Issue
Block a user