void wxIFMFloatingWindowBase::OnSize(wxSizeEvent &event) { wxIFMFloatingSizeEvent sizeevt( (event.GetEventType() == wxEVT_SIZE ? wxEVT_IFM_FLOATING_SIZE : wxEVT_IFM_FLOATING_SIZING), this, event); if( !GetIP()->ProcessPluginEvent(sizeevt) ) event.Skip(); }
void DisassemblyDialog::onSizeEvent(wxSizeEvent& event) { if (event.GetEventType() == wxEVT_SIZE) { g_Conf->EmuOptions.Debugger.WindowWidth = event.GetSize().x; g_Conf->EmuOptions.Debugger.WindowHeight = event.GetSize().y; } event.Skip(); }