Skip to content

Commit

Permalink
GUI: Remove old wx code
Browse files Browse the repository at this point in the history
  • Loading branch information
fdde authored and DrMcCoy committed Dec 29, 2017
1 parent d4927af commit f987744
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 1,454 deletions.
17 changes: 0 additions & 17 deletions src/gui/panelpreviewempty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,10 @@
* Preview panel for resources we can't do anything with.
*/

#include <wx/sizer.h>
#include <wx/statbox.h>

#include "src/common/ustring.h"

#include "src/gui/panelpreviewempty.h"

namespace GUI {

PanelPreviewEmpty::PanelPreviewEmpty(wxWindow *parent, const Common::UString &title) :
wxPanel(parent, wxID_ANY) {

wxStaticBox *boxPreviewEmpty = new wxStaticBox(this, wxID_ANY, title);
boxPreviewEmpty->Lower();

wxStaticBoxSizer *sizerPreviewEmpty = new wxStaticBoxSizer(boxPreviewEmpty, wxVERTICAL);

SetSizer(sizerPreviewEmpty);
}

PanelPreviewEmpty::~PanelPreviewEmpty() {
}

} // End of namespace GUI
10 changes: 1 addition & 9 deletions src/gui/panelpreviewempty.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,11 @@
#ifndef PANELPREVIEWEMPTY_H
#define PANELPREVIEWEMPTY_H

#include <wx/panel.h>

namespace Common {
class UString;
}

namespace GUI {

class PanelPreviewEmpty : public wxPanel {
public:
PanelPreviewEmpty(wxWindow *parent, const Common::UString &title);
~PanelPreviewEmpty();
};


} // End of namespace GUI

Expand Down

0 comments on commit f987744

Please sign in to comment.