Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
272e38a0
Commit
272e38a0
authored
May 11, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wxwidgets/* : Forwardport [15370]. button localisation
parent
b5243c87
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
53 additions
and
49 deletions
+53
-49
modules/gui/wxwidgets/dialogs/bookmarks.cpp
modules/gui/wxwidgets/dialogs/bookmarks.cpp
+5
-5
modules/gui/wxwidgets/dialogs/interaction.cpp
modules/gui/wxwidgets/dialogs/interaction.cpp
+14
-7
modules/gui/wxwidgets/dialogs/iteminfo.cpp
modules/gui/wxwidgets/dialogs/iteminfo.cpp
+3
-2
modules/gui/wxwidgets/dialogs/messages.cpp
modules/gui/wxwidgets/dialogs/messages.cpp
+10
-16
modules/gui/wxwidgets/dialogs/open.cpp
modules/gui/wxwidgets/dialogs/open.cpp
+5
-4
modules/gui/wxwidgets/dialogs/preferences.cpp
modules/gui/wxwidgets/dialogs/preferences.cpp
+4
-3
modules/gui/wxwidgets/dialogs/streamout.cpp
modules/gui/wxwidgets/dialogs/streamout.cpp
+3
-2
modules/gui/wxwidgets/dialogs/subtitles.cpp
modules/gui/wxwidgets/dialogs/subtitles.cpp
+3
-2
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
+6
-8
No files found.
modules/gui/wxwidgets/dialogs/bookmarks.cpp
View file @
272e38a0
...
@@ -102,10 +102,10 @@ BookmarkEditDialog::BookmarkEditDialog( intf_thread_t *_p_intf,
...
@@ -102,10 +102,10 @@ BookmarkEditDialog::BookmarkEditDialog( intf_thread_t *_p_intf,
sizer
->
Add
(
bytes_text
,
0
,
wxEXPAND
|
wxRIGHT
,
5
);
sizer
->
Add
(
bytes_text
,
0
,
wxEXPAND
|
wxRIGHT
,
5
);
wxBoxSizer
*
button_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
wxBoxSizer
*
button_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
wxButton
*
ok_button
=
new
wxButton
(
this
,
wxID_OK
);
wxButton
*
ok_button
=
new
wxButton
(
this
,
wxID_OK
,
wxU
(
_
(
"&OK"
)
)
);
ok_button
->
SetDefault
();
ok_button
->
SetDefault
();
button_sizer
->
Add
(
ok_button
);
button_sizer
->
Add
(
ok_button
);
button_sizer
->
Add
(
new
wxButton
(
this
,
wxID_CANCEL
)
);
button_sizer
->
Add
(
new
wxButton
(
this
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
)
)
)
);
panel_sizer
->
Add
(
sizer
,
0
,
wxEXPAND
|
wxTOP
|
wxBOTTOM
,
5
);
panel_sizer
->
Add
(
sizer
,
0
,
wxEXPAND
|
wxTOP
|
wxBOTTOM
,
5
);
panel_sizer
->
Add
(
button_sizer
,
0
,
wxEXPAND
|
wxBOTTOM
,
5
);
panel_sizer
->
Add
(
button_sizer
,
0
,
wxEXPAND
|
wxBOTTOM
,
5
);
...
@@ -156,11 +156,11 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf, wxWindow *p_parent )
...
@@ -156,11 +156,11 @@ BookmarksDialog::BookmarksDialog( intf_thread_t *_p_intf, wxWindow *p_parent )
wxPanel
*
panel
=
new
wxPanel
(
main_panel
,
-
1
);
wxPanel
*
panel
=
new
wxPanel
(
main_panel
,
-
1
);
wxBoxSizer
*
panel_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxBoxSizer
*
panel_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxButton
*
button_add
=
wxButton
*
button_add
=
new
wxButton
(
panel
,
wxID_ADD
);
new
wxButton
(
panel
,
wxID_ADD
,
wxU
(
_
(
"Add"
))
);
wxButton
*
button_del
=
wxButton
*
button_del
=
new
wxButton
(
panel
,
wxID_DELETE
);
new
wxButton
(
panel
,
wxID_DELETE
,
wxU
(
_
(
"&Delete"
))
);
wxButton
*
button_clear
=
wxButton
*
button_clear
=
new
wxButton
(
panel
,
wxID_CLEAR
);
new
wxButton
(
panel
,
wxID_CLEAR
,
wxU
(
_
(
"&Clear"
))
);
wxButton
*
button_edit
=
wxButton
*
button_edit
=
new
wxButton
(
panel
,
ButtonEdit_Event
,
wxU
(
_
(
"Edit"
))
);
new
wxButton
(
panel
,
ButtonEdit_Event
,
wxU
(
_
(
"Edit"
))
);
wxButton
*
button_extract
=
wxButton
*
button_extract
=
...
...
modules/gui/wxwidgets/dialogs/interaction.cpp
View file @
272e38a0
...
@@ -168,16 +168,21 @@ void InteractionDialog::Render()
...
@@ -168,16 +168,21 @@ void InteractionDialog::Render()
//-------------- Buttons ------------------
//-------------- Buttons ------------------
if
(
p_dialog
->
i_flags
&
DIALOG_OK_CANCEL
)
if
(
p_dialog
->
i_flags
&
DIALOG_OK_CANCEL
)
{
{
wxButton
*
ok
=
new
wxButton
(
buttons_panel
,
wxID_OK
);
wxButton
*
ok
=
new
wxButton
(
buttons_panel
,
wxButton
*
cancel
=
new
wxButton
(
buttons_panel
,
wxID_CANCEL
);
wxID_OK
,
wxU
(
_
(
"&OK"
)
)
);
wxButton
*
cancel
=
new
wxButton
(
buttons_panel
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
)
)
);
buttons_sizer
->
AddButton
(
ok
);
buttons_sizer
->
AddButton
(
ok
);
buttons_sizer
->
AddButton
(
cancel
);
buttons_sizer
->
AddButton
(
cancel
);
}
}
else
if
(
p_dialog
->
i_flags
&
DIALOG_YES_NO_CANCEL
)
else
if
(
p_dialog
->
i_flags
&
DIALOG_YES_NO_CANCEL
)
{
{
wxButton
*
yes
=
new
wxButton
(
buttons_panel
,
wxID_YES
);
wxButton
*
yes
=
new
wxButton
(
buttons_panel
,
wxButton
*
no
=
new
wxButton
(
buttons_panel
,
wxID_NO
);
wxID_YES
,
wxU
(
_
(
"&Yes"
)
)
);
wxButton
*
cancel
=
new
wxButton
(
buttons_panel
,
wxID_CANCEL
);
wxButton
*
no
=
new
wxButton
(
buttons_panel
,
wxID_NO
,
wxU
(
_
(
"&No"
)
)
);
wxButton
*
cancel
=
new
wxButton
(
buttons_panel
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
)
)
);
buttons_sizer
->
AddButton
(
yes
);
buttons_sizer
->
AddButton
(
yes
);
buttons_sizer
->
AddButton
(
no
);
buttons_sizer
->
AddButton
(
no
);
buttons_sizer
->
AddButton
(
cancel
);
buttons_sizer
->
AddButton
(
cancel
);
...
@@ -187,8 +192,10 @@ void InteractionDialog::Render()
...
@@ -187,8 +192,10 @@ void InteractionDialog::Render()
wxCheckBox
*
noshow
=
new
wxCheckBox
(
buttons_panel
,
wxCheckBox
*
noshow
=
new
wxCheckBox
(
buttons_panel
,
NoShow_Event
,
wxU
(
_
(
"Don't show further errors"
)
)
);
NoShow_Event
,
wxU
(
_
(
"Don't show further errors"
)
)
);
noshow
->
SetValue
(
b_noshow
);
noshow
->
SetValue
(
b_noshow
);
wxButton
*
clear
=
new
wxButton
(
buttons_panel
,
wxID_CLEAR
);
wxButton
*
clear
=
new
wxButton
(
buttons_panel
,
wxButton
*
close
=
new
wxButton
(
buttons_panel
,
wxID_CLOSE
);
wxID_CLEAR
,
wxU
(
_
(
"&Clear"
)
)
);
wxButton
*
close
=
new
wxButton
(
buttons_panel
,
wxID_CLOSE
,
wxU
(
_
(
"&Close"
)
)
);
close
->
SetDefault
();
close
->
SetDefault
();
buttons_sizer
->
Add
(
noshow
,
0
,
wxEXPAND
|
wxRIGHT
|
buttons_sizer
->
Add
(
noshow
,
0
,
wxEXPAND
|
wxRIGHT
|
wxLEFT
|
wxALIGN_LEFT
,
5
);
wxLEFT
|
wxALIGN_LEFT
,
5
);
...
...
modules/gui/wxwidgets/dialogs/iteminfo.cpp
View file @
272e38a0
...
@@ -75,9 +75,10 @@ ItemInfoDialog::ItemInfoDialog( intf_thread_t *_p_intf,
...
@@ -75,9 +75,10 @@ ItemInfoDialog::ItemInfoDialog( intf_thread_t *_p_intf,
wxStaticLine
*
static_line
=
new
wxStaticLine
(
panel
,
wxID_OK
);
wxStaticLine
*
static_line
=
new
wxStaticLine
(
panel
,
wxID_OK
);
/* Create the buttons */
/* Create the buttons */
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
);
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
,
wxU
(
_
(
"&OK"
))
);
ok_button
->
SetDefault
();
ok_button
->
SetDefault
();
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
);
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
))
);
/* Place everything in sizers */
/* Place everything in sizers */
wxStdDialogButtonSizer
*
button_sizer
=
new
wxStdDialogButtonSizer
;
wxStdDialogButtonSizer
*
button_sizer
=
new
wxStdDialogButtonSizer
;
...
...
modules/gui/wxwidgets/dialogs/messages.cpp
View file @
272e38a0
...
@@ -28,12 +28,6 @@
...
@@ -28,12 +28,6 @@
*****************************************************************************/
*****************************************************************************/
/* IDs for the controls and the menu commands */
/* IDs for the controls and the menu commands */
enum
{
Close_Event
,
Clear_Event
,
Save_Log_Event
};
BEGIN_EVENT_TABLE
(
Messages
,
wxFrame
)
BEGIN_EVENT_TABLE
(
Messages
,
wxFrame
)
/* Button events */
/* Button events */
...
@@ -73,25 +67,25 @@ Messages::Messages( intf_thread_t *_p_intf, wxWindow *p_parent ):
...
@@ -73,25 +67,25 @@ Messages::Messages( intf_thread_t *_p_intf, wxWindow *p_parent ):
warn_attr
=
new
wxTextAttr
(
*
wxBLUE
);
warn_attr
=
new
wxTextAttr
(
*
wxBLUE
);
dbg_attr
=
new
wxTextAttr
(
*
wxBLACK
);
dbg_attr
=
new
wxTextAttr
(
*
wxBLACK
);
/* Create the Close button */
wxButton
*
close_button
=
new
wxButton
(
messages_panel
,
wxID_CLOSE
,
wxU
(
_
(
"&Close"
)));
close_button
->
SetDefault
();
/* Create the Clear button */
wxButton
*
clear_button
=
new
wxButton
(
messages_panel
,
wxID_CLEAR
,
wxU
(
_
(
"Clear"
)));
/* Create the Save Log button */
/* Create the Save Log button */
wxButton
*
save_log_button
=
new
wxButton
(
messages_panel
,
wxID_SAVEAS
);
wxButton
*
save_log_button
=
new
wxButton
(
messages_panel
,
wxID_SAVEAS
,
save_log_button
->
SetDefault
();
wxU
(
_
(
"Save &As..."
)));
/* Create the Clear button */
wxButton
*
clear_button
=
new
wxButton
(
messages_panel
,
wxID_CLEAR
);
clear_button
->
SetDefault
();
/* Create the OK button */
wxButton
*
ok_button
=
new
wxButton
(
messages_panel
,
wxID_CLOSE
);
ok_button
->
SetDefault
();
/* Place everything in sizers */
/* Place everything in sizers */
wxBoxSizer
*
buttons_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
wxBoxSizer
*
buttons_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
buttons_sizer
->
Add
(
save_log_button
,
0
,
wxEXPAND
|
wxALIGN_LEFT
|
wxALL
,
5
);
buttons_sizer
->
Add
(
save_log_button
,
0
,
wxEXPAND
|
wxALIGN_LEFT
|
wxALL
,
5
);
buttons_sizer
->
Add
(
clear_button
,
0
,
wxEXPAND
|
wxALIGN_RIGHT
|
wxALL
,
5
);
buttons_sizer
->
Add
(
clear_button
,
0
,
wxEXPAND
|
wxALIGN_RIGHT
|
wxALL
,
5
);
buttons_sizer
->
Add
(
ok
_button
,
0
,
wxEXPAND
|
wxALIGN_RIGHT
|
wxALL
,
5
);
buttons_sizer
->
Add
(
close
_button
,
0
,
wxEXPAND
|
wxALIGN_RIGHT
|
wxALL
,
5
);
buttons_sizer
->
Add
(
new
wxPanel
(
this
,
-
1
),
1
,
wxALL
,
5
);
buttons_sizer
->
Add
(
new
wxPanel
(
this
,
-
1
),
1
,
wxALL
,
5
);
buttons_sizer
->
Layout
();
buttons_sizer
->
Layout
();
wxBoxSizer
*
main_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
wxBoxSizer
*
main_sizer
=
new
wxBoxSizer
(
wxVERTICAL
);
...
...
modules/gui/wxwidgets/dialogs/open.cpp
View file @
272e38a0
...
@@ -317,10 +317,10 @@ AutoBuiltPanel::AutoBuiltPanel( wxWindow *parent, OpenDialog *dialog,
...
@@ -317,10 +317,10 @@ AutoBuiltPanel::AutoBuiltPanel( wxWindow *parent, OpenDialog *dialog,
/* Create buttons */
/* Create buttons */
wxButton
*
ok_button
=
wxButton
*
ok_button
=
new
wxButton
(
p_advanced_dialog
,
wxID_OK
);
new
wxButton
(
p_advanced_dialog
,
wxID_OK
,
wxU
(
_
(
"&OK"
))
);
ok_button
->
SetDefault
();
ok_button
->
SetDefault
();
wxButton
*
cancel_button
=
wxButton
*
cancel_button
=
new
wxButton
(
p_advanced_dialog
,
wxID_CANCEL
);
new
wxButton
(
p_advanced_dialog
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
))
);
wxStdDialogButtonSizer
*
button_sizer
=
new
wxStdDialogButtonSizer
;
wxStdDialogButtonSizer
*
button_sizer
=
new
wxStdDialogButtonSizer
;
button_sizer
->
AddButton
(
ok_button
);
button_sizer
->
AddButton
(
ok_button
);
button_sizer
->
AddButton
(
cancel_button
);
button_sizer
->
AddButton
(
cancel_button
);
...
@@ -487,9 +487,10 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, wxWindow *_p_parent,
...
@@ -487,9 +487,10 @@ OpenDialog::OpenDialog( intf_thread_t *_p_intf, wxWindow *_p_parent,
wxStaticLine
*
static_line
=
new
wxStaticLine
(
panel
,
wxID_OK
);
wxStaticLine
*
static_line
=
new
wxStaticLine
(
panel
,
wxID_OK
);
/* Create the buttons */
/* Create the buttons */
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
);
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
,
wxU
(
_
(
"&OK"
))
);
ok_button
->
SetDefault
();
ok_button
->
SetDefault
();
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
);
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
))
);
/* Create notebook */
/* Create notebook */
notebook
=
new
wxNotebook
(
panel
,
Notebook_Event
);
notebook
=
new
wxNotebook
(
panel
,
Notebook_Event
);
...
...
modules/gui/wxwidgets/dialogs/preferences.cpp
View file @
272e38a0
...
@@ -202,12 +202,13 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf, wxWindow *p_parent)
...
@@ -202,12 +202,13 @@ PrefsDialog::PrefsDialog( intf_thread_t *_p_intf, wxWindow *p_parent)
#if 0
#if 0
/* Create the buttons */
/* Create the buttons */
wxButton *ok_button = new wxButton( panel, wxID_OK );
wxButton *ok_button = new wxButton( panel, wxID_OK
, wxU(_("OK"))
);
ok_button->SetDefault();
ok_button->SetDefault();
#endif
#endif
wxButton
*
save_button
=
new
wxButton
(
panel
,
wxID_SAVE
);
wxButton
*
save_button
=
new
wxButton
(
panel
,
wxID_SAVE
,
wxU
(
_
(
"&Save"
))
);
save_button
->
SetDefault
();
save_button
->
SetDefault
();
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
);
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
))
);
wxButton
*
reset_button
=
new
wxButton
(
panel
,
ResetAll_Event
,
wxButton
*
reset_button
=
new
wxButton
(
panel
,
ResetAll_Event
,
wxU
(
_
(
"Reset All"
))
);
wxU
(
_
(
"Reset All"
))
);
...
...
modules/gui/wxwidgets/dialogs/streamout.cpp
View file @
272e38a0
...
@@ -192,9 +192,10 @@ SoutDialog::SoutDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
...
@@ -192,9 +192,10 @@ SoutDialog::SoutDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
misc_panel
=
MiscPanel
(
panel
);
misc_panel
=
MiscPanel
(
panel
);
/* Create the buttons */
/* Create the buttons */
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
);
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
,
wxU
(
_
(
"&OK"
))
);
ok_button
->
SetDefault
();
ok_button
->
SetDefault
();
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
);
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
))
);
/* Place everything in sizers */
/* Place everything in sizers */
wxStdDialogButtonSizer
*
button_sizer
=
new
wxStdDialogButtonSizer
;
wxStdDialogButtonSizer
*
button_sizer
=
new
wxStdDialogButtonSizer
;
...
...
modules/gui/wxwidgets/dialogs/subtitles.cpp
View file @
272e38a0
...
@@ -239,9 +239,10 @@ SubsFileDialog::SubsFileDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
...
@@ -239,9 +239,10 @@ SubsFileDialog::SubsFileDialog( intf_thread_t *_p_intf, wxWindow* _p_parent ):
wxStaticLine
*
static_line
=
new
wxStaticLine
(
panel
,
wxID_OK
);
wxStaticLine
*
static_line
=
new
wxStaticLine
(
panel
,
wxID_OK
);
/* Create the buttons */
/* Create the buttons */
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
);
wxButton
*
ok_button
=
new
wxButton
(
panel
,
wxID_OK
,
wxU
(
_
(
"&OK"
))
);
ok_button
->
SetDefault
();
ok_button
->
SetDefault
();
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
);
wxButton
*
cancel_button
=
new
wxButton
(
panel
,
wxID_CANCEL
,
wxU
(
_
(
"&Cancel"
))
);
/* Place everything in sizers */
/* Place everything in sizers */
wxStdDialogButtonSizer
*
button_sizer
=
new
wxStdDialogButtonSizer
;
wxStdDialogButtonSizer
*
button_sizer
=
new
wxStdDialogButtonSizer
;
...
...
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
View file @
272e38a0
...
@@ -33,16 +33,14 @@ enum
...
@@ -33,16 +33,14 @@ enum
{
{
Notebook_Event
,
Notebook_Event
,
Timer_Event
,
Timer_Event
,
Close_Event
,
Load_Event
,
Load_Event
,
Save_Event
,
};
};
BEGIN_EVENT_TABLE
(
VLMPanel
,
wxPanel
)
BEGIN_EVENT_TABLE
(
VLMPanel
,
wxPanel
)
EVT_TIMER
(
Timer_Event
,
VLMPanel
::
OnTimer
)
EVT_TIMER
(
Timer_Event
,
VLMPanel
::
OnTimer
)
EVT_BUTTON
(
Close_Event
,
VLMPanel
::
OnClose
)
EVT_BUTTON
(
wxID_CLOSE
,
VLMPanel
::
OnClose
)
EVT_BUTTON
(
Load_Event
,
VLMPanel
::
OnLoad
)
EVT_BUTTON
(
Load_Event
,
VLMPanel
::
OnLoad
)
EVT_BUTTON
(
Save_Event
,
VLMPanel
::
OnSave
)
EVT_BUTTON
(
wxID_SAVE
,
VLMPanel
::
OnSave
)
END_EVENT_TABLE
()
END_EVENT_TABLE
()
...
@@ -75,10 +73,10 @@ VLMPanel::VLMPanel( intf_thread_t *_p_intf, wxWindow *_p_parent ) :
...
@@ -75,10 +73,10 @@ VLMPanel::VLMPanel( intf_thread_t *_p_intf, wxWindow *_p_parent ) :
#endif
#endif
wxBoxSizer
*
button_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
wxBoxSizer
*
button_sizer
=
new
wxBoxSizer
(
wxHORIZONTAL
);
button_sizer
->
Add
(
new
wxButton
(
this
,
Close_Event
,
wxU
(
_
(
"
Close"
)
)
)
);
button_sizer
->
Add
(
new
wxButton
(
this
,
wxID_CLOSE
,
wxU
(
_
(
"&
Close"
)
)
)
);
button_sizer
->
Add
(
0
,
0
,
1
);
button_sizer
->
Add
(
0
,
0
,
1
);
button_sizer
->
Add
(
new
wxButton
(
this
,
Load_Event
,
wxU
(
_
(
"Load"
)
)
),
0
,
wxRIGHT
,
10
);
button_sizer
->
Add
(
new
wxButton
(
this
,
Load_Event
,
wxU
(
_
(
"Load"
)
)
),
0
,
wxRIGHT
,
10
);
button_sizer
->
Add
(
new
wxButton
(
this
,
Save_Event
,
wxU
(
_
(
"
Save"
)
)
)
);
button_sizer
->
Add
(
new
wxButton
(
this
,
wxID_SAVE
,
wxU
(
_
(
"&
Save"
)
)
)
);
panel_sizer
->
Add
(
button_sizer
,
0
,
wxEXPAND
|
wxALL
,
5
);
panel_sizer
->
Add
(
button_sizer
,
0
,
wxEXPAND
|
wxALL
,
5
);
panel_sizer
->
Layout
();
panel_sizer
->
Layout
();
...
@@ -409,8 +407,8 @@ VLMAddStreamPanel::VLMAddStreamPanel( intf_thread_t *_p_intf,
...
@@ -409,8 +407,8 @@ VLMAddStreamPanel::VLMAddStreamPanel( intf_thread_t *_p_intf,
if
(
!
b_edit
)
if
(
!
b_edit
)
{
{
lower_sizer
->
Add
(
new
wxButton
(
this
,
Clear_Event
,
lower_sizer
->
Add
(
new
wxButton
(
this
,
wxID_CLEAR
,
wxU
(
_
(
"Clear"
)
)
),
wxU
(
_
(
"
&
Clear"
)
)
),
0
,
wxEXPAND
|
wxALL
,
5
);
0
,
wxEXPAND
|
wxALL
,
5
);
}
}
lower_sizer
->
Add
(
new
wxButton
(
this
,
Create_Event
,
lower_sizer
->
Add
(
new
wxButton
(
this
,
Create_Event
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment