mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
GUI make logwindow into a panel TODO: figure out how to make it
floatable git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4228 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -49,7 +49,7 @@ class wxString;
|
||||
class CFrame;
|
||||
|
||||
// Uses multiple inheritance - only sane because LogListener is a pure virtual interface.
|
||||
class CLogWindow : public wxDialog, LogListener
|
||||
class CLogWindow : public wxPanel, LogListener
|
||||
{
|
||||
public:
|
||||
CLogWindow(CFrame *parent,
|
||||
@ -57,11 +57,7 @@ public:
|
||||
const wxString& title = wxT("Log"),
|
||||
const wxPoint& pos = wxPoint(100, 700),
|
||||
const wxSize& size = wxSize(800, 270),
|
||||
#ifdef _WIN32
|
||||
long style = wxNO_BORDER);
|
||||
#else
|
||||
long style = wxDEFAULT_FRAME_STYLE | wxCLIP_CHILDREN | wxNO_FULL_REPAINT_ON_RESIZE);
|
||||
#endif
|
||||
~CLogWindow();
|
||||
void NotifyUpdate();
|
||||
|
||||
@ -92,7 +88,7 @@ private:
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
wxTextCtrl * CreateTextCtrl(wxDialog* parent, wxWindowID id = wxID_ANY, long Style = NULL);
|
||||
wxTextCtrl * CreateTextCtrl(wxPanel* parent, wxWindowID id = wxID_ANY, long Style = NULL);
|
||||
void CreateGUIControls();
|
||||
void PopulateRight(); void UnPopulateRight();
|
||||
void OnClose(wxCloseEvent& event);
|
||||
|
Reference in New Issue
Block a user