Skip to content

Commit

Permalink
Remove deprecated overriden method
Browse files Browse the repository at this point in the history
  • Loading branch information
vsicurella committed Jul 18, 2024
1 parent a873ff0 commit eff870f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Source/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ void MainWindow::closeButtonPressed()
JUCEApplication::getInstance()->systemRequestedQuit();
}

BorderSize<int> MainWindow::getBorderThickness() const
{
return BorderSize <int>(1);
}
//BorderSize<int> MainWindow::getBorderThickness() const
//{
// return BorderSize <int>(1);
//}

bool MainWindow::isLargerThanCurrentScreen() const
{
Expand Down
4 changes: 2 additions & 2 deletions Source/MainWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ class MainWindow : public juce::DocumentWindow
public:
MainWindow(const LumatoneEditorState& stateIn, juce::ApplicationCommandManager* commandManager);

virtual ~MainWindow() override;
~MainWindow() override;

void closeButtonPressed() override;

juce::BorderSize<int> getBorderThickness() const override;
// juce::BorderSize<int> getBorderThickness() const override;

/* Note: Be careful if you override any DocumentWindow methods - the base
class uses a lot of them, so by overriding you might break its functionality.
Expand Down

0 comments on commit eff870f

Please sign in to comment.