Tinderbox warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-07-06 10:47:29 +00:00
parent 23f826bdf9
commit a1b3b60832

View File

@@ -1818,7 +1818,8 @@ void wxFrameManager::Update()
if (p.frame->GetPosition() != p.floating_pos) if (p.frame->GetPosition() != p.floating_pos)
{ {
p.frame->SetSize(p.floating_pos.x, p.floating_pos.y, p.frame->SetSize(p.floating_pos.x, p.floating_pos.y,
-1, -1, wxSIZE_USE_EXISTING); wxDefaultCoord, wxDefaultCoord,
wxSIZE_USE_EXISTING);
//p.frame->Move(p.floating_pos.x, p.floating_pos.y); //p.frame->Move(p.floating_pos.x, p.floating_pos.y);
} }
@@ -2488,6 +2489,9 @@ void wxFrameManager::ShowHint(const wxRect& rect)
// Until a better system color is decided upon we'll just use // Until a better system color is decided upon we'll just use
// blue. // blue.
p->SetBackgroundColour(*wxBLUE); p->SetBackgroundColour(*wxBLUE);
#else
wxUnusedVar(pt);
wxUnusedVar(size);
#endif #endif
m_hint_wnd->Show(); m_hint_wnd->Show();