forked from eranif/codelite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added Snippet Plugin to repository (by Frank Lichtner)
git-svn-id: https://codelite.svn.sourceforge.net/svnroot/codelite/trunk@2082 9da81c78-c036-0410-9e1f-a2b0375e4b5a
- Loading branch information
eranif
committed
Sep 6, 2008
1 parent
9a3b605
commit 89389fe
Showing
25 changed files
with
9,582 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
const char snipwizhtml_txt[] ={ | ||
0x3C,0x48,0x54,0x4D,0x4C,0x3E,0x3C,0x42,0x4F,0x44,0x59,0x20,0x42,0x47, | ||
0x43,0x4F,0x4C,0x4F,0x52,0x3D,0x22,0x23,0x46,0x46,0x46,0x46,0x45,0x36, | ||
0x22,0x20,0x54,0x45,0x58,0x54,0x3D,0x22,0x23,0x30,0x30,0x30,0x30,0x30, | ||
0x30,0x22,0x20,0x4C,0x49,0x4E,0x4B,0x3D,0x22,0x23,0x30,0x30,0x30,0x30, | ||
0x46,0x46,0x22,0x20,0x56,0x4C,0x49,0x4E,0x4B,0x3D,0x22,0x23,0x34,0x30, | ||
0x30,0x30,0x34,0x30,0x22,0x20,0x41,0x4C,0x49,0x4E,0x4B,0x3D,0x22,0x23, | ||
0x46,0x46,0x30,0x30,0x30,0x30,0x22,0x20,0x54,0x4F,0x50,0x4D,0x41,0x52, | ||
0x47,0x49,0x4E,0x3D,0x22,0x35,0x22,0x20,0x4C,0x45,0x46,0x54,0x4D,0x41, | ||
0x52,0x47,0x49,0x4E,0x3D,0x22,0x35,0x22,0x3E,0x0D,0x0A,0x3C,0x46,0x4F, | ||
0x4E,0x54,0x20,0x43,0x4F,0x4C,0x4F,0x52,0x3D,0x22,0x22,0x20,0x53,0x49, | ||
0x5A,0x45,0x3D,0x22,0x32,0x22,0x20,0x46,0x41,0x43,0x45,0x3D,0x22,0x41, | ||
0x72,0x69,0x61,0x6C,0x2C,0x20,0x4C,0x75,0x63,0x69,0x64,0x61,0x20,0x53, | ||
0x61,0x6E,0x73,0x22,0x3E,0x0D,0x0A,0x3C,0x42,0x3E,0x53,0x6E,0x69,0x70, | ||
0x57,0x69,0x7A,0x3C,0x2F,0x42,0x3E,0x20,0x69,0x73,0x20,0x61,0x20,0x6C, | ||
0x69,0x74,0x74,0x6C,0x65,0x20,0x74,0x6F,0x6F,0x6C,0x20,0x74,0x6F,0x20, | ||
0x6D,0x61,0x6B,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x6D,0x65, | ||
0x72,0x73,0x20,0x6C,0x69,0x76,0x65,0x20,0x61,0x20,0x62,0x69,0x74,0x20, | ||
0x65,0x61,0x73,0x69,0x65,0x72,0x2E,0x20,0x49,0x74,0x20,0x63,0x6F,0x6E, | ||
0x73,0x69,0x73,0x74,0x73,0x20,0x6F,0x66,0x20,0x74,0x77,0x6F,0x20,0x70, | ||
0x61,0x72,0x74,0x73,0x2C,0x20,0x74,0x68,0x65,0x20,0x27,0x3C,0x42,0x3E, | ||
0x3C,0x49,0x3E,0x53,0x6E,0x69,0x70,0x70,0x65,0x74,0x20,0x57,0x69,0x7A, | ||
0x61,0x72,0x64,0x3C,0x2F,0x49,0x3E,0x3C,0x2F,0x42,0x3E,0x27,0x20,0x61, | ||
0x6E,0x64,0x20,0x74,0x68,0x65,0x20,0x27,0x3C,0x42,0x3E,0x3C,0x49,0x3E, | ||
0x54,0x65,0x6D,0x70,0x6C,0x61,0x74,0x65,0x20,0x43,0x6C,0x61,0x73,0x73, | ||
0x20,0x57,0x69,0x7A,0x61,0x72,0x64,0x3C,0x2F,0x49,0x3E,0x3C,0x2F,0x42, | ||
0x3E,0x27,0x2E,0x3C,0x50,0x3E,0x0D,0x0A,0x0D,0x0A,0x3C,0x42,0x3E,0x53, | ||
0x6E,0x69,0x70,0x70,0x65,0x74,0x20,0x57,0x69,0x7A,0x61,0x72,0x64,0x3A, | ||
0x3C,0x2F,0x42,0x3E,0x3C,0x42,0x52,0x3E,0x0D,0x0A,0x59,0x6F,0x75,0x20, | ||
0x63,0x61,0x6E,0x20,0x75,0x73,0x65,0x20,0x69,0x74,0x20,0x74,0x6F,0x20, | ||
0x61,0x64,0x64,0x20,0x73,0x6F,0x6D,0x65,0x20,0x63,0x6F,0x64,0x65,0x20, | ||
0x73,0x6E,0x69,0x70,0x70,0x65,0x74,0x73,0x20,0x6F,0x72,0x20,0x65,0x76, | ||
0x65,0x6E,0x20,0x65,0x78,0x70,0x61,0x6E,0x64,0x20,0x74,0x68,0x65,0x6D, | ||
0x20,0x74,0x6F,0x20,0x73,0x6F,0x6D,0x65,0x74,0x68,0x69,0x6E,0x67,0x20, | ||
0x75,0x73,0x65,0x66,0x75,0x6C,0x6C,0x79,0x2E,0x3C,0x50,0x3E,0x0D,0x0A, | ||
0x20,0x0D,0x0A,0x54,0x68,0x65,0x72,0x65,0x20,0x61,0x72,0x65,0x20,0x74, | ||
0x77,0x6F,0x20,0x70,0x6C,0x61,0x63,0x65,0x68,0x6F,0x6C,0x64,0x65,0x72, | ||
0x20,0x77,0x68,0x69,0x63,0x68,0x20,0x63,0x61,0x6E,0x20,0x62,0x65,0x20, | ||
0x75,0x73,0x65,0x64,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x73,0x6E, | ||
0x69,0x70,0x70,0x65,0x74,0x73,0x2E,0x3C,0x42,0x52,0x3E,0x0D,0x0A,0x3C, | ||
0x44,0x44,0x3E,0x3C,0x42,0x3E,0x40,0x3C,0x2F,0x42,0x3E,0x20,0x77,0x69, | ||
0x6C,0x6C,0x20,0x62,0x65,0x20,0x72,0x65,0x70,0x6C,0x61,0x63,0x65,0x64, | ||
0x20,0x62,0x79,0x20,0x74,0x68,0x65,0x20,0x73,0x65,0x6C,0x65,0x63,0x74, | ||
0x69,0x6F,0x6E,0x2C,0x20,0x69,0x66,0x20,0x61,0x6E,0x79,0x2E,0x0D,0x0A, | ||
0x3C,0x44,0x44,0x3E,0x3C,0x42,0x3E,0x24,0x3C,0x2F,0x42,0x3E,0x20,0x77, | ||
0x69,0x6C,0x6C,0x20,0x73,0x65,0x74,0x20,0x74,0x68,0x65,0x20,0x70,0x6F, | ||
0x73,0x69,0x74,0x69,0x6F,0x6E,0x20,0x77,0x68,0x65,0x72,0x65,0x20,0x74, | ||
0x68,0x65,0x20,0x63,0x61,0x72,0x65,0x74,0x20,0x73,0x68,0x6F,0x75,0x6C, | ||
0x64,0x20,0x62,0x65,0x20,0x61,0x66,0x74,0x65,0x72,0x20,0x74,0x68,0x65, | ||
0x20,0x73,0x6E,0x69,0x70,0x70,0x65,0x74,0x20,0x68,0x61,0x73,0x20,0x62, | ||
0x65,0x65,0x6E,0x20,0x69,0x6E,0x73,0x65,0x72,0x74,0x65,0x64,0x2E,0x3C, | ||
0x50,0x3E,0x0D,0x0A,0x0D,0x0A,0x3C,0x44,0x44,0x3E,0x3C,0x55,0x3E,0x45, | ||
0x78,0x61,0x6D,0x70,0x6C,0x65,0x3A,0x3C,0x2F,0x55,0x3E,0x0D,0x0A,0x3C, | ||
0x44,0x44,0x3E,0x3C,0x43,0x4F,0x44,0x45,0x3E,0x66,0x6F,0x72,0x28,0x40, | ||
0x20,0x3D,0x20,0x30,0x3B,0x20,0x40,0x20,0x26,0x6C,0x74,0x3B,0x20,0x24, | ||
0x3B,0x20,0x40,0x2B,0x2B,0x29,0x3B,0x3C,0x2F,0x43,0x4F,0x44,0x45,0x3E, | ||
0x0D,0x0A,0x3C,0x44,0x44,0x3E,0x4C,0x65,0x74,0x27,0x73,0x20,0x73,0x61, | ||
0x79,0x20,0x79,0x6F,0x75,0x20,0x68,0x61,0x64,0x20,0x73,0x65,0x6C,0x65, | ||
0x63,0x74,0x65,0x64,0x20,0x74,0x68,0x65,0x20,0x77,0x6F,0x72,0x64,0x20, | ||
0x27,0x3C,0x43,0x4F,0x44,0x45,0x3E,0x63,0x6F,0x75,0x6E,0x74,0x65,0x72, | ||
0x3C,0x2F,0x43,0x4F,0x44,0x45,0x3E,0x27,0x20,0x74,0x68,0x69,0x73,0x20, | ||
0x77,0x69,0x6C,0x6C,0x20,0x65,0x78,0x70,0x61,0x6E,0x64,0x20,0x74,0x6F, | ||
0x0D,0x0A,0x3C,0x44,0x44,0x3E,0x3C,0x43,0x4F,0x44,0x45,0x3E,0x66,0x6F, | ||
0x72,0x28,0x63,0x6F,0x75,0x6E,0x74,0x65,0x72,0x20,0x3D,0x20,0x30,0x3B, | ||
0x20,0x63,0x6F,0x75,0x6E,0x74,0x65,0x72,0x20,0x26,0x6C,0x74,0x3B,0x20, | ||
0x7C,0x3B,0x20,0x63,0x6F,0x75,0x6E,0x74,0x65,0x72,0x2B,0x2B,0x29,0x3B, | ||
0x3C,0x2F,0x43,0x4F,0x44,0x45,0x3E,0x3C,0x50,0x3E,0x0D,0x0A,0x0D,0x0A, | ||
0x57,0x68,0x65,0x6E,0x20,0x79,0x6F,0x75,0x20,0x70,0x72,0x65,0x73,0x73, | ||
0x65,0x64,0x20,0x74,0x68,0x65,0x20,0x27,0x3C,0x49,0x3E,0x43,0x74,0x72, | ||
0x6C,0x3C,0x2F,0x49,0x3E,0x27,0x20,0x6B,0x65,0x79,0x20,0x77,0x68,0x69, | ||
0x6C,0x65,0x20,0x63,0x6C,0x69,0x63,0x6B,0x69,0x6E,0x67,0x20,0x6F,0x6E, | ||
0x20,0x74,0x68,0x65,0x20,0x73,0x6E,0x69,0x70,0x70,0x65,0x74,0x20,0x6D, | ||
0x65,0x6E,0x75,0x2C,0x20,0x74,0x68,0x65,0x20,0x73,0x6E,0x69,0x70,0x70, | ||
0x65,0x74,0x20,0x69,0x73,0x20,0x6E,0x6F,0x74,0x20,0x69,0x6E,0x73,0x65, | ||
0x72,0x74,0x65,0x64,0x20,0x61,0x74,0x20,0x74,0x68,0x65,0x20,0x63,0x75, | ||
0x72,0x72,0x65,0x6E,0x74,0x20,0x63,0x61,0x72,0x65,0x74,0x20,0x70,0x6F, | ||
0x73,0x69,0x74,0x69,0x6F,0x6E,0x2C,0x20,0x62,0x75,0x74,0x20,0x69,0x73, | ||
0x20,0x63,0x6F,0x70,0x69,0x65,0x64,0x20,0x74,0x6F,0x20,0x74,0x68,0x65, | ||
0x20,0x63,0x6C,0x69,0x70,0x62,0x6F,0x61,0x72,0x64,0x20,0x61,0x6E,0x64, | ||
0x20,0x74,0x6F,0x20,0x61,0x6E,0x20,0x69,0x6E,0x74,0x65,0x72,0x6E,0x61, | ||
0x6C,0x20,0x62,0x75,0x66,0x66,0x65,0x72,0x2C,0x20,0x73,0x6F,0x20,0x79, | ||
0x6F,0x75,0x20,0x63,0x61,0x6E,0x20,0x69,0x6E,0x73,0x65,0x72,0x74,0x20, | ||
0x69,0x74,0x20,0x73,0x6F,0x6D,0x65,0x77,0x68,0x65,0x72,0x65,0x20,0x65, | ||
0x6C,0x73,0x65,0x2E,0x3C,0x42,0x52,0x3E,0x0D,0x0A,0x49,0x66,0x20,0x79, | ||
0x6F,0x75,0x20,0x68,0x61,0x76,0x65,0x20,0x61,0x20,0x6D,0x75,0x6C,0x74, | ||
0x79,0x20,0x6C,0x69,0x6E,0x65,0x20,0x73,0x6E,0x69,0x70,0x70,0x65,0x74, | ||
0x2C,0x20,0x79,0x6F,0x75,0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x70, | ||
0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6F,0x6D,0x20,0x74,0x68,0x65,0x20, | ||
0x69,0x6E,0x74,0x65,0x72,0x6E,0x61,0x6C,0x20,0x62,0x75,0x66,0x66,0x65, | ||
0x72,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x6D,0x65,0x6E,0x75,0x2C, | ||
0x20,0x73,0x69,0x6E,0x63,0x65,0x20,0x74,0x68,0x69,0x73,0x20,0x77,0x69, | ||
0x6C,0x6C,0x20,0x6B,0x65,0x65,0x70,0x20,0x79,0x6F,0x75,0x72,0x20,0x69, | ||
0x6E,0x74,0x65,0x6E,0x64,0x61,0x74,0x69,0x6F,0x6E,0x2E,0x3C,0x50,0x3E, | ||
0x20,0x0D,0x0A,0x0D,0x0A,0x3C,0x42,0x3E,0x54,0x65,0x6D,0x70,0x6C,0x61, | ||
0x74,0x65,0x20,0x43,0x6C,0x61,0x73,0x73,0x20,0x57,0x69,0x7A,0x61,0x72, | ||
0x64,0x3A,0x3C,0x2F,0x42,0x3E,0x3C,0x42,0x52,0x3E,0x0D,0x0A,0x54,0x65, | ||
0x6D,0x70,0x6C,0x61,0x74,0x65,0x20,0x63,0x6C,0x61,0x73,0x73,0x65,0x73, | ||
0x20,0x63,0x61,0x6E,0x20,0x62,0x65,0x20,0x75,0x73,0x65,0x64,0x20,0x74, | ||
0x6F,0x20,0x67,0x65,0x6E,0x65,0x72,0x61,0x74,0x65,0x20,0x70,0x72,0x65, | ||
0x64,0x65,0x66,0x69,0x6E,0x65,0x64,0x20,0x63,0x6C,0x61,0x73,0x73,0x65, | ||
0x73,0x2E,0x20,0x49,0x74,0x27,0x73,0x20,0x61,0x63,0x74,0x75,0x61,0x6C, | ||
0x6C,0x79,0x20,0x61,0x20,0x73,0x69,0x6D,0x70,0x6C,0x65,0x20,0x74,0x68, | ||
0x69,0x6E,0x67,0x2C,0x20,0x73,0x69,0x6E,0x63,0x65,0x20,0x69,0x74,0x20, | ||
0x6A,0x75,0x73,0x74,0x20,0x72,0x65,0x70,0x6C,0x61,0x63,0x65,0x73,0x20, | ||
0x61,0x6C,0x6C,0x20,0x6F,0x63,0x63,0x75,0x72,0x72,0x65,0x6E,0x63,0x65, | ||
0x73,0x20,0x6F,0x66,0x20,0x74,0x68,0x65,0x20,0x6B,0x65,0x79,0x77,0x6F, | ||
0x72,0x64,0x20,0x3C,0x43,0x4F,0x44,0x45,0x3E,0x25,0x43,0x4C,0x41,0x53, | ||
0x53,0x25,0x3C,0x2F,0x43,0x4F,0x44,0x45,0x3E,0x20,0x77,0x69,0x74,0x68, | ||
0x20,0x74,0x68,0x65,0x20,0x65,0x6E,0x74,0x65,0x72,0x65,0x64,0x20,0x63, | ||
0x6C,0x61,0x73,0x73,0x20,0x6E,0x61,0x6D,0x65,0x20,0x61,0x6E,0x64,0x20, | ||
0x67,0x65,0x6E,0x65,0x72,0x61,0x74,0x65,0x73,0x20,0x74,0x68,0x65,0x20, | ||
0x61,0x70,0x70,0x72,0x6F,0x70,0x72,0x69,0x61,0x74,0x65,0x20,0x66,0x69, | ||
0x6C,0x65,0x73,0x2E,0x3C,0x42,0x52,0x3E,0x3C,0x2F,0x46,0x4F,0x4E,0x54, | ||
0x3E,0x0D,0x0A,0x3C,0x2F,0x42,0x4F,0x44,0x59,0x3E,0x3C,0x2F,0x48,0x54, | ||
0x4D,0x4C,0x3E | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
/////////////////////////////////////////////////////////////////////////// | ||
// C++ code generated with wxFormBuilder (version Apr 16 2008) | ||
// http://www.wxformbuilder.org/ | ||
// | ||
// PLEASE DO "NOT" EDIT THIS FILE! | ||
/////////////////////////////////////////////////////////////////////////// | ||
|
||
#include "editsnippetsbasedlg.h" | ||
|
||
/////////////////////////////////////////////////////////////////////////// | ||
|
||
EditSnippetsBaseDlg::EditSnippetsBaseDlg( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style ) | ||
{ | ||
this->SetSizeHints( wxDefaultSize, wxDefaultSize ); | ||
|
||
wxBoxSizer* bSizer3; | ||
bSizer3 = new wxBoxSizer( wxVERTICAL ); | ||
|
||
m_notebook1 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 ); | ||
m_panel2 = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); | ||
wxBoxSizer* bSizer4; | ||
bSizer4 = new wxBoxSizer( wxVERTICAL ); | ||
|
||
wxBoxSizer* bSizer5; | ||
bSizer5 = new wxBoxSizer( wxHORIZONTAL ); | ||
|
||
m_listBox1 = new wxListBox( m_panel2, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, 0 ); | ||
bSizer5->Add( m_listBox1, 0, wxALL|wxEXPAND, 5 ); | ||
|
||
wxBoxSizer* bSizer6; | ||
bSizer6 = new wxBoxSizer( wxVERTICAL ); | ||
|
||
wxBoxSizer* bSizer7; | ||
bSizer7 = new wxBoxSizer( wxHORIZONTAL ); | ||
|
||
m_staticText1 = new wxStaticText( m_panel2, wxID_ANY, wxT("Menu Entry:"), wxDefaultPosition, wxDefaultSize, 0 ); | ||
m_staticText1->Wrap( -1 ); | ||
bSizer7->Add( m_staticText1, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 ); | ||
|
||
m_textCtrlMenuEntry = new wxTextCtrl( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 ); | ||
bSizer7->Add( m_textCtrlMenuEntry, 1, wxALL, 5 ); | ||
|
||
bSizer6->Add( bSizer7, 1, wxEXPAND, 5 ); | ||
|
||
m_staticText2 = new wxStaticText( m_panel2, wxID_ANY, wxT("Use @ as placeholder for selection and $ to set the caret position.\ne.g. for(@ = 0; @ < $; @++)"), wxDefaultPosition, wxDefaultSize, 0 ); | ||
m_staticText2->Wrap( -1 ); | ||
bSizer6->Add( m_staticText2, 0, wxALL, 5 ); | ||
|
||
m_textCtrlSnippet = new wxTextCtrl( m_panel2, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_PROCESS_TAB|wxTE_RICH2 ); | ||
m_textCtrlSnippet->SetMinSize( wxSize( -1,200 ) ); | ||
|
||
bSizer6->Add( m_textCtrlSnippet, 0, wxALL|wxEXPAND, 5 ); | ||
|
||
wxBoxSizer* bSizer8; | ||
bSizer8 = new wxBoxSizer( wxHORIZONTAL ); | ||
|
||
m_buttonAdd = new wxButton( m_panel2, wxID_ANY, wxT("Add"), wxDefaultPosition, wxDefaultSize, 0 ); | ||
bSizer8->Add( m_buttonAdd, 0, wxALL, 5 ); | ||
|
||
m_buttonChange = new wxButton( m_panel2, wxID_ANY, wxT("Change"), wxDefaultPosition, wxDefaultSize, 0 ); | ||
bSizer8->Add( m_buttonChange, 0, wxALL, 5 ); | ||
|
||
m_buttonRemove = new wxButton( m_panel2, wxID_ANY, wxT("Remove"), wxDefaultPosition, wxDefaultSize, 0 ); | ||
bSizer8->Add( m_buttonRemove, 0, wxALL, 5 ); | ||
|
||
bSizer6->Add( bSizer8, 0, wxALIGN_CENTER_HORIZONTAL, 5 ); | ||
|
||
bSizer5->Add( bSizer6, 1, 0, 5 ); | ||
|
||
bSizer4->Add( bSizer5, 1, wxEXPAND, 5 ); | ||
|
||
m_panel2->SetSizer( bSizer4 ); | ||
m_panel2->Layout(); | ||
bSizer4->Fit( m_panel2 ); | ||
m_notebook1->AddPage( m_panel2, wxT("Snippets"), true ); | ||
m_panel3 = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); | ||
wxBoxSizer* bSizer9; | ||
bSizer9 = new wxBoxSizer( wxVERTICAL ); | ||
|
||
m_htmlWinAbout = new wxHtmlWindow( m_panel3, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO ); | ||
bSizer9->Add( m_htmlWinAbout, 1, wxALL|wxEXPAND, 5 ); | ||
|
||
m_panel3->SetSizer( bSizer9 ); | ||
m_panel3->Layout(); | ||
bSizer9->Fit( m_panel3 ); | ||
m_notebook1->AddPage( m_panel3, wxT("About"), false ); | ||
|
||
bSizer3->Add( m_notebook1, 1, wxEXPAND | wxALL, 5 ); | ||
|
||
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); | ||
bSizer3->Add( m_staticline1, 0, wxEXPAND | wxALL, 5 ); | ||
|
||
m_buttonClose = new wxButton( this, wxID_OK, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 ); | ||
m_buttonClose->SetDefault(); | ||
bSizer3->Add( m_buttonClose, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 ); | ||
|
||
this->SetSizer( bSizer3 ); | ||
this->Layout(); | ||
bSizer3->Fit( this ); | ||
|
||
this->Centre( wxBOTH ); | ||
|
||
// Connect Events | ||
m_listBox1->Connect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( EditSnippetsBaseDlg::OnItemSelected ), NULL, this ); | ||
m_buttonAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditSnippetsBaseDlg::OnAddSnippet ), NULL, this ); | ||
m_buttonAdd->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditSnippetsBaseDlg::OnAddSnippetUI ), NULL, this ); | ||
m_buttonChange->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditSnippetsBaseDlg::OnChangeSnippet ), NULL, this ); | ||
m_buttonChange->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditSnippetsBaseDlg::OnChangeSnippetUI ), NULL, this ); | ||
m_buttonRemove->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditSnippetsBaseDlg::OnRemoveSnippet ), NULL, this ); | ||
m_buttonRemove->Connect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditSnippetsBaseDlg::OnRemoveSnippetUI ), NULL, this ); | ||
} | ||
|
||
EditSnippetsBaseDlg::~EditSnippetsBaseDlg() | ||
{ | ||
// Disconnect Events | ||
m_listBox1->Disconnect( wxEVT_COMMAND_LISTBOX_SELECTED, wxCommandEventHandler( EditSnippetsBaseDlg::OnItemSelected ), NULL, this ); | ||
m_buttonAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditSnippetsBaseDlg::OnAddSnippet ), NULL, this ); | ||
m_buttonAdd->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditSnippetsBaseDlg::OnAddSnippetUI ), NULL, this ); | ||
m_buttonChange->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditSnippetsBaseDlg::OnChangeSnippet ), NULL, this ); | ||
m_buttonChange->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditSnippetsBaseDlg::OnChangeSnippetUI ), NULL, this ); | ||
m_buttonRemove->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( EditSnippetsBaseDlg::OnRemoveSnippet ), NULL, this ); | ||
m_buttonRemove->Disconnect( wxEVT_UPDATE_UI, wxUpdateUIEventHandler( EditSnippetsBaseDlg::OnRemoveSnippetUI ), NULL, this ); | ||
} |
Oops, something went wrong.