aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bacula-server/files/patch-src-wx-console
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bacula-server/files/patch-src-wx-console')
-rw-r--r--sysutils/bacula-server/files/patch-src-wx-console31
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/bacula-server/files/patch-src-wx-console b/sysutils/bacula-server/files/patch-src-wx-console
new file mode 100644
index 000000000000..6f388bef45e5
--- /dev/null
+++ b/sysutils/bacula-server/files/patch-src-wx-console
@@ -0,0 +1,31 @@
+*** src/wx-console/wxbconfigpanel.cpp.orig Mon May 31 18:30:40 2004
+--- src/wx-console/wxbconfigpanel.cpp Sat Jul 3 16:37:15 2004
+***************
+*** 88,100 ****
+ wxString wxbConfigParam::GetValue() {
+ switch (type) {
+ case text:
+! return (statictext) ? statictext->GetLabel() : "";
+ break;
+ case modifiableText:
+! return (textctrl) ? textctrl->GetValue() : "";
+ break;
+ case choice:
+! return (choicectrl) ? choicectrl->GetStringSelection() : "";
+ break;
+ }
+ return "";
+--- 88,100 ----
+ wxString wxbConfigParam::GetValue() {
+ switch (type) {
+ case text:
+! return (statictext != NULL) ? statictext->GetLabel() : wxString("");
+ break;
+ case modifiableText:
+! return (textctrl != NULL) ? textctrl->GetValue() : wxString("");
+ break;
+ case choice:
+! return (choicectrl != NULL) ? choicectrl->GetStringSelection() : wxString("");
+ break;
+ }
+ return "";