]> git.saurik.com Git - wxWidgets.git/commitdiff
Set size of hint window before showing it.
authorRobert Roebling <robert@roebling.de>
Tue, 22 Aug 2006 22:37:15 +0000 (22:37 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 22 Aug 2006 22:37:15 +0000 (22:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 0018ab37b0e24636a9ecd6606d535f62eb2d3312..9e2fe0853004a896b41fbf1c79426c0d66c3251c 100644 (file)
@@ -2656,6 +2656,8 @@ void wxFrameManager::ShowHint(const wxRect& rect)
             )
             m_hint_fadeamt = 0;
 
+        m_hint_wnd->SetSize(rect);
+        
         if (! m_hint_wnd->IsShown())
             m_hint_wnd->Show();
 
@@ -2670,7 +2672,6 @@ void wxFrameManager::ShowHint(const wxRect& rect)
         if (m_hint_wnd->IsKindOf(CLASSINFO(wxPseudoTransparentFrame)))
             ((wxPseudoTransparentFrame *)m_hint_wnd)->SetTransparent(m_hint_fadeamt);
 #endif
-        m_hint_wnd->SetSize(rect);
         m_hint_wnd->Raise();