summaryrefslogtreecommitdiff
path: root/LiteEditor/newquickwatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LiteEditor/newquickwatch.cpp')
-rw-r--r--LiteEditor/newquickwatch.cpp41
1 files changed, 13 insertions, 28 deletions
diff --git a/LiteEditor/newquickwatch.cpp b/LiteEditor/newquickwatch.cpp
index f09451f6..0e6ff688 100644
--- a/LiteEditor/newquickwatch.cpp
+++ b/LiteEditor/newquickwatch.cpp
@@ -1,28 +1,3 @@
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-//
-// copyright : (C) 2014 The CodeLite Team
-// file name : newquickwatch.cpp
-//
-// -------------------------------------------------------------------------
-// A
-// _____ _ _ _ _
-// / __ \ | | | | (_) |
-// | / \/ ___ __| | ___| | _| |_ ___
-// | | / _ \ / _ |/ _ \ | | | __/ _ )
-// | \__/\ (_) | (_| | __/ |___| | || __/
-// \____/\___/ \__,_|\___\_____/_|\__\___|
-//
-// F i l e
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-//////////////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: newquickwatch.wxcp
@@ -83,13 +58,14 @@ clDebuggerTipWindowBase::clDebuggerTipWindowBase(wxWindow* parent,long style)
m_staticBitmap44 = new wxStaticBitmap(m_panelStatusBar, wxID_ANY, wxXmlResource::Get()->LoadBitmap(wxT("resize")), wxDefaultPosition, wxSize(16,16), 0 );
- boxSizer42->Add(m_staticBitmap44, 0, wxALL|wxALIGN_RIGHT|wxALIGN_BOTTOM, 5);
+ boxSizer42->Add(m_staticBitmap44, 0, wxALL|wxALIGN_RIGHT, 5);
+ SetName(wxT("clDebuggerTipWindowBase"));
SetSizeHints(-1,-1);
if ( GetSizer() ) {
GetSizer()->Fit(this);
}
- Centre(wxBOTH);
+ CentreOnParent(wxBOTH);
// Connect events
m_treeCtrl->Connect(wxEVT_KEY_DOWN, wxKeyEventHandler(clDebuggerTipWindowBase::OnKeyDown), NULL, this);
m_treeCtrl->Connect(wxEVT_LEFT_DOWN, wxMouseEventHandler(clDebuggerTipWindowBase::OnLeftDown), NULL, this);
@@ -142,6 +118,9 @@ clDebuggerEditItemDlgBase::clDebuggerEditItemDlgBase(wxWindow* parent, wxWindowI
boxSizer34->Add(m_staticText36, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5);
m_textCtrl38 = new wxTextCtrl(m_panel32, wxID_ANY, wxT(""), wxDefaultPosition, wxSize(-1,-1), 0);
+ #if wxVERSION_NUMBER >= 3000
+ m_textCtrl38->SetHint(wxT(""));
+ #endif
boxSizer34->Add(m_textCtrl38, 0, wxALL|wxEXPAND, 5);
@@ -158,12 +137,18 @@ clDebuggerEditItemDlgBase::clDebuggerEditItemDlgBase(wxWindow* parent, wxWindowI
boxSizer26->Add(m_button30, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5);
+ SetName(wxT("clDebuggerEditItemDlgBase"));
SetMinSize( wxSize(400,-1) );
SetSizeHints(400,-1);
if ( GetSizer() ) {
GetSizer()->Fit(this);
}
- Centre(wxBOTH);
+ CentreOnParent(wxBOTH);
+#if wxVERSION_NUMBER >= 2900
+ if(!wxPersistenceManager::Get().Find(this)) {
+ wxPersistenceManager::Get().RegisterAndRestore(this);
+ }
+#endif
}
clDebuggerEditItemDlgBase::~clDebuggerEditItemDlgBase()