Omitted MS rebar checkbox.
This commit is contained in:
parent
d90d0fd5ab
commit
f33649c76f
|
@ -45,9 +45,6 @@ MyPropertySheet::MyPropertySheet (
|
||||||
bool expandInternalEntitiesParameter,
|
bool expandInternalEntitiesParameter,
|
||||||
bool showFullPathOnFrameParameter,
|
bool showFullPathOnFrameParameter,
|
||||||
int lang,
|
int lang,
|
||||||
#ifdef __WXMSW__
|
|
||||||
bool useCoolBarParameter,
|
|
||||||
#endif
|
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
wxString title,
|
wxString title,
|
||||||
const wxPoint& position,
|
const wxPoint& position,
|
||||||
|
@ -253,12 +250,6 @@ MyPropertySheet::MyPropertySheet (
|
||||||
generalPanel, wxID_ANY, _ ( "S&how full path on frame" ) );
|
generalPanel, wxID_ANY, _ ( "S&how full path on frame" ) );
|
||||||
fullPathBox->SetValue ( showFullPathOnFrameParameter );
|
fullPathBox->SetValue ( showFullPathOnFrameParameter );
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
|
||||||
useCoolBarBox = new wxCheckBox (
|
|
||||||
generalPanel, wxID_ANY, _ ( "&Use Microsoft rebar control (restart required)" ) );
|
|
||||||
useCoolBarBox->SetValue ( useCoolBarParameter );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
hsizer->Add ( applicationDirEdit, 0, wxALL | wxALIGN_LEFT, 0 );
|
hsizer->Add ( applicationDirEdit, 0, wxALL | wxALIGN_LEFT, 0 );
|
||||||
hsizer->Add ( browse, 0, wxLEFT | wxALIGN_LEFT, 5 );
|
hsizer->Add ( browse, 0, wxLEFT | wxALIGN_LEFT, 5 );
|
||||||
hsizerBrowser->Add ( browserCommandEdit, 0, wxALL | wxALIGN_LEFT, 0 );
|
hsizerBrowser->Add ( browserCommandEdit, 0, wxALL | wxALIGN_LEFT, 0 );
|
||||||
|
@ -275,13 +266,10 @@ MyPropertySheet::MyPropertySheet (
|
||||||
vsizerCheckbox1->Add ( expandInternalEntitiesBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
vsizerCheckbox1->Add ( expandInternalEntitiesBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
||||||
vsizerCheckbox1->Add ( singleInstanceCheckBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
vsizerCheckbox1->Add ( singleInstanceCheckBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
||||||
vsizerCheckbox1->Add ( restoreLayoutBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
vsizerCheckbox1->Add ( restoreLayoutBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
||||||
vsizerCheckbox1->Add ( rememberOpenTabsBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
vsizerCheckbox2->Add ( rememberOpenTabsBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
||||||
vsizerCheckbox2->Add ( unlimitedUndoBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
vsizerCheckbox2->Add ( unlimitedUndoBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
||||||
vsizerCheckbox2->Add ( saveBomBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
vsizerCheckbox2->Add ( saveBomBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
||||||
vsizerCheckbox2->Add ( fullPathBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
vsizerCheckbox2->Add ( fullPathBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
||||||
#ifdef __WXMSW__
|
|
||||||
vsizerCheckbox2->Add ( useCoolBarBox, 0, wxALL | wxALIGN_LEFT, 5 );
|
|
||||||
#endif
|
|
||||||
hsizerCheckboxes->Add ( vsizerCheckbox1, 0, wxALL | wxALIGN_LEFT, 0 );
|
hsizerCheckboxes->Add ( vsizerCheckbox1, 0, wxALL | wxALIGN_LEFT, 0 );
|
||||||
hsizerCheckboxes->Add ( vsizerCheckbox2, 0, wxALL | wxALIGN_LEFT, 0 );
|
hsizerCheckboxes->Add ( vsizerCheckbox2, 0, wxALL | wxALIGN_LEFT, 0 );
|
||||||
vsizer->Add ( hsizerCheckboxes, 0, wxALL | wxALIGN_LEFT, 5 );
|
vsizer->Add ( hsizerCheckboxes, 0, wxALL | wxALIGN_LEFT, 5 );
|
||||||
|
@ -333,9 +321,6 @@ void MyPropertySheet::OnOk ( wxCommandEvent& e )
|
||||||
unlimitedUndo = unlimitedUndoBox->GetValue();
|
unlimitedUndo = unlimitedUndoBox->GetValue();
|
||||||
expandInternalEntities = expandInternalEntitiesBox->GetValue();
|
expandInternalEntities = expandInternalEntitiesBox->GetValue();
|
||||||
showFullPathOnFrame = fullPathBox->GetValue();
|
showFullPathOnFrame = fullPathBox->GetValue();
|
||||||
#ifdef __WXMSW__
|
|
||||||
useCoolBar = useCoolBarBox->GetValue();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int languageChoice = languageBox->GetSelection();
|
int languageChoice = languageBox->GetSelection();
|
||||||
switch ( languageChoice )
|
switch ( languageChoice )
|
||||||
|
@ -422,13 +407,6 @@ bool MyPropertySheet::getUnlimitedUndo()
|
||||||
return unlimitedUndo;
|
return unlimitedUndo;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
|
||||||
bool MyPropertySheet::getUseCoolBar()
|
|
||||||
{
|
|
||||||
return useCoolBar;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int MyPropertySheet::getLang()
|
int MyPropertySheet::getLang()
|
||||||
{
|
{
|
||||||
return lang;
|
return lang;
|
||||||
|
|
|
@ -59,9 +59,6 @@ public:
|
||||||
bool expandInternalEntities,
|
bool expandInternalEntities,
|
||||||
bool showFullPathOnFrame,
|
bool showFullPathOnFrame,
|
||||||
int lang,
|
int lang,
|
||||||
#ifdef __WXMSW__
|
|
||||||
bool useCoolBar,
|
|
||||||
#endif
|
|
||||||
wxWindowID id = wxID_ANY,
|
wxWindowID id = wxID_ANY,
|
||||||
wxString title = _T ( "" ),
|
wxString title = _T ( "" ),
|
||||||
const wxPoint& position = wxDefaultPosition,
|
const wxPoint& position = wxDefaultPosition,
|
||||||
|
@ -82,9 +79,6 @@ public:
|
||||||
bool getRestoreLayout();
|
bool getRestoreLayout();
|
||||||
bool getExpandInternalEntities();
|
bool getExpandInternalEntities();
|
||||||
bool getShowFullPathOnFrame();
|
bool getShowFullPathOnFrame();
|
||||||
#ifdef __WXMSW__
|
|
||||||
bool getUseCoolBar();
|
|
||||||
#endif
|
|
||||||
int getLang();
|
int getLang();
|
||||||
private:
|
private:
|
||||||
int lang;
|
int lang;
|
||||||
|
@ -93,7 +87,6 @@ private:
|
||||||
*foldBox,
|
*foldBox,
|
||||||
*numberBox,
|
*numberBox,
|
||||||
*whitespaceVisibleBox,
|
*whitespaceVisibleBox,
|
||||||
//*wrapBox,
|
|
||||||
*indentLinesBox,
|
*indentLinesBox,
|
||||||
*deleteWholeTagBox,
|
*deleteWholeTagBox,
|
||||||
*rememberOpenTabsBox,
|
*rememberOpenTabsBox,
|
||||||
|
@ -105,9 +98,6 @@ private:
|
||||||
*validateAsYouTypeBox,
|
*validateAsYouTypeBox,
|
||||||
*fullPathBox,
|
*fullPathBox,
|
||||||
*highlightSyntaxBox,
|
*highlightSyntaxBox,
|
||||||
#ifdef __WXMSW__
|
|
||||||
*useCoolBarBox,
|
|
||||||
#endif
|
|
||||||
*unlimitedUndoBox,
|
*unlimitedUndoBox,
|
||||||
*restoreLayoutBox,
|
*restoreLayoutBox,
|
||||||
*expandInternalEntitiesBox,
|
*expandInternalEntitiesBox,
|
||||||
|
@ -120,9 +110,6 @@ private:
|
||||||
rememberOpenTabs,
|
rememberOpenTabs,
|
||||||
libxmlNetAccess,
|
libxmlNetAccess,
|
||||||
saveBom,
|
saveBom,
|
||||||
#ifdef __WXMSW__
|
|
||||||
useCoolBar,
|
|
||||||
#endif
|
|
||||||
unlimitedUndo,
|
unlimitedUndo,
|
||||||
restoreLayout,
|
restoreLayout,
|
||||||
expandInternalEntities,
|
expandInternalEntities,
|
||||||
|
|
Loading…
Reference in New Issue