git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40027
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (p.frame->GetPosition() != p.floating_pos)
{
p.frame->SetSize(p.floating_pos.x, p.floating_pos.y,
if (p.frame->GetPosition() != p.floating_pos)
{
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);
}
// Until a better system color is decided upon we'll just use
// blue.
p->SetBackgroundColour(*wxBLUE);
// Until a better system color is decided upon we'll just use
// blue.
p->SetBackgroundColour(*wxBLUE);
+#else
+ wxUnusedVar(pt);
+ wxUnusedVar(size);
#endif
m_hint_wnd->Show();
#endif
m_hint_wnd->Show();
e.SetPane(&pane);
e.SetCanVeto(evt.CanVeto());
ProcessMgrEvent(e);
e.SetPane(&pane);
e.SetCanVeto(evt.CanVeto());
ProcessMgrEvent(e);
if (e.GetVeto())
{
evt.Veto();
if (e.GetVeto())
{
evt.Veto();
void wxFrameManager::OnPaneButton(wxFrameManagerEvent& evt)
{
wxASSERT_MSG(evt.pane, wxT("Pane Info passed to wxFrameManager::OnPaneButton must be non-null"));
void wxFrameManager::OnPaneButton(wxFrameManagerEvent& evt)
{
wxASSERT_MSG(evt.pane, wxT("Pane Info passed to wxFrameManager::OnPaneButton must be non-null"));
wxPaneInfo& pane = *(evt.pane);
if (evt.button == wxPaneInfo::buttonClose)
wxPaneInfo& pane = *(evt.pane);
if (evt.button == wxPaneInfo::buttonClose)
wxFrameManagerEvent e(wxEVT_AUI_PANECLOSE);
e.SetPane(evt.pane);
ProcessMgrEvent(e);
wxFrameManagerEvent e(wxEVT_AUI_PANECLOSE);
e.SetPane(evt.pane);
ProcessMgrEvent(e);
if (!e.GetVeto())
{
pane.Hide();
if (!e.GetVeto())
{
pane.Hide();