summaryrefslogtreecommitdiffstats
path: root/Project/MainFrame.cpp
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-08-09 17:45:09 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-08-09 17:45:09 -0300
commit0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2 (patch)
tree3ff5ec1cdeafafd58916e41151d437b44f49754f /Project/MainFrame.cpp
parentb5324f48c855b0c82ccf6da7d5a008fe5cf1c17e (diff)
downloadPSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.tar.gz
PSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.tar.xz
PSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.zip
Line under implementation
Diffstat (limited to 'Project/MainFrame.cpp')
-rw-r--r--Project/MainFrame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Project/MainFrame.cpp b/Project/MainFrame.cpp
index aa9164e..c9ab732 100644
--- a/Project/MainFrame.cpp
+++ b/Project/MainFrame.cpp
@@ -14,8 +14,8 @@ MainFrame::MainFrame(wxWindow* parent, wxLocale* locale) : MainFrameBase(parent)
}
MainFrame::~MainFrame()
{
- if(!m_artMetro) delete m_artMetro;
- if(!m_addElementsMenu) {
+ //if(m_artMetro) delete m_artMetro;
+ if(m_addElementsMenu) {
m_addElementsMenu->Disconnect(wxEVT_COMMAND_MENU_SELECTED,
wxCommandEventHandler(MainFrame::OnAddElementsClick), NULL, this);
delete m_addElementsMenu;