Exemplo n.º 1
0
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();
}
Exemplo n.º 2
0
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();
}