1. added wxStatusBarUniv
2. several bug fixes to wxSpinButton/wxSpinCtrl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -77,7 +77,7 @@ void wxFrame::OnSize(wxSizeEvent& event)
|
||||
}
|
||||
|
||||
void wxFrame::SendSizeEvent()
|
||||
{
|
||||
{
|
||||
wxSizeEvent event(GetSize(), GetId());
|
||||
event.SetEventObject(this);
|
||||
GetEventHandler()->ProcessEvent(event);
|
||||
@@ -117,9 +117,8 @@ void wxFrame::PositionStatusBar()
|
||||
{
|
||||
if ( m_frameStatusBar )
|
||||
{
|
||||
wxCoord heightBar = m_frameStatusBar->GetSize().y;
|
||||
m_frameStatusBar->SetSize(0, GetClientSize().y,
|
||||
GetClientSize().x, heightBar);
|
||||
wxSize size = GetClientSize();
|
||||
m_frameStatusBar->SetSize(0, size.y, size.x, -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user