]> git.sur5r.net Git - bacula/bacula/commitdiff
wxbConfigPanel : Fixed ?: operator cast problem with gcc 2.95.
authorNicolas Boichat <nicolas@boichat.ch>
Sat, 3 Jul 2004 13:28:15 +0000 (13:28 +0000)
committerNicolas Boichat <nicolas@boichat.ch>
Sat, 3 Jul 2004 13:28:15 +0000 (13:28 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1454 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/wx-console/CHANGELOG
bacula/src/wx-console/wxbconfigpanel.cpp

index 702bd494108a344f6d3a87509e70aecc33210578..2d31e0e75c47fc75e7450fa6de904032b1afe2d4 100644 (file)
@@ -1,3 +1,6 @@
+03-07-2004 :
+ - wxbConfigPanel : Fixed ?: operator cast problem with gcc 2.95.
+
 25-06-2004 :
  - wxbRestorePanel : Fix file size truncated if >100mb.
 
index 793f03418fb7374b059030753920b3241ed104d0..b57530e34920305d2e9b5ae09e9555e12f587164 100644 (file)
@@ -88,13 +88,13 @@ wxString wxbConfigParam::GetTitle() {
 wxString wxbConfigParam::GetValue() {
    switch (type) {
    case text:
-      return (statictext != NULL) ? statictext->GetLabel() : "";
+      return (statictext != NULL) ? statictext->GetLabel() : wxString("");
       break;
    case modifiableText:
-      return (textctrl != NULL) ? textctrl->GetValue() : "";      
+      return (textctrl != NULL) ? textctrl->GetValue() : wxString("");      
       break;
    case choice:
-      return (choicectrl != NULL) ? choicectrl->GetStringSelection() : "";
+      return (choicectrl != NULL) ? choicectrl->GetStringSelection() : wxString("");
       break;      
    }
    return "";