- Code: Select all
void wxFrameManager::OnFloatingPaneMoving(wxWindow* wnd)
{
...
// no hint for toolbar floating windows
if (pane.IsToolbar() && m_action == actionDragFloatingPane)
{
if (m_action == actionDragFloatingPane)
{
...
}
return;
}
...
}
is equivelant to
- Code: Select all
void wxFrameManager::OnFloatingPaneMoving(wxWindow* wnd)
{
...
// no hint for toolbar floating windows
if (pane.IsToolbar() && m_action == actionDragFloatingPane)
{
...
return;
}
...
}
The extra if-statement was redundant, but was something else meant?