mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fix text on about window
This commit is contained in:
@@ -27,6 +27,10 @@ AboutWindow::AboutWindow(Window* parent)
|
||||
ok_button->Move(ws.GetWidth() - bs.GetWidth(), ws.GetHeight() - bs.GetHeight()); // align bottom right
|
||||
}
|
||||
|
||||
bool AboutWindow::Layout() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void AboutWindow::onPaint(wxPaintEvent& ev) {
|
||||
wxBufferedPaintDC dc(this);
|
||||
draw(dc);
|
||||
|
||||
@@ -15,10 +15,14 @@
|
||||
|
||||
/// Nice about dialog
|
||||
class AboutWindow : public wxDialog {
|
||||
public:
|
||||
public:
|
||||
AboutWindow(Window* parent);
|
||||
|
||||
// Note: for some stupid reason, wxWindow::Layout makes the child of a window with a single child the same size as the whole window,
|
||||
// we do not want that.
|
||||
bool Layout() override;
|
||||
|
||||
private:
|
||||
private:
|
||||
DECLARE_EVENT_TABLE();
|
||||
|
||||
// MSE logos
|
||||
|
||||
Reference in New Issue
Block a user