mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Clean up the debugger gui a bit. In general do not call SetSizeHints on a window unless it is a top level window. It isn't supposed to do anything for non top level windows, but it causes glitches on linux. Removing these calls does not affect the end result on windows.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7233 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -35,8 +35,8 @@ class SymbolDB;
|
||||
class CCodeView : public wxControl
|
||||
{
|
||||
public:
|
||||
CCodeView(DebugInterface* debuginterface, SymbolDB *symbol_db, wxWindow* parent, wxWindowID Id = -1, const wxSize& Size = wxDefaultSize);
|
||||
wxSize DoGetBestSize() const;
|
||||
CCodeView(DebugInterface* debuginterface, SymbolDB *symbol_db,
|
||||
wxWindow* parent, wxWindowID Id = wxID_ANY);
|
||||
void OnPaint(wxPaintEvent& event);
|
||||
void OnErase(wxEraseEvent& event);
|
||||
void OnMouseDown(wxMouseEvent& event);
|
||||
@ -60,10 +60,11 @@ public:
|
||||
{
|
||||
curAddress = addr;
|
||||
selection = addr;
|
||||
redraw();
|
||||
Refresh();
|
||||
}
|
||||
|
||||
void SetPlain() {
|
||||
void SetPlain()
|
||||
{
|
||||
plain = true;
|
||||
}
|
||||
|
||||
@ -72,8 +73,7 @@ private:
|
||||
int YToAddress(int y);
|
||||
|
||||
u32 AddrToBranch(u32 addr);
|
||||
|
||||
void redraw() {Refresh();}
|
||||
void OnResize(wxSizeEvent& event);
|
||||
|
||||
DebugInterface* debugger;
|
||||
SymbolDB* symbol_db;
|
||||
|
Reference in New Issue
Block a user