summaryrefslogtreecommitdiffstats
path: root/Project/Element.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Element.h')
-rw-r--r--Project/Element.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Project/Element.h b/Project/Element.h
index b8035fb..08fdfe9 100644
--- a/Project/Element.h
+++ b/Project/Element.h
@@ -553,7 +553,7 @@ public:
* @param value Double value converted.
* @param errorMsg Error message.
*/
- bool DoubleFromString(wxWindow* parent, wxString strValue, double& value, wxString errorMsg);
+ static bool DoubleFromString(wxWindow* parent, wxString strValue, double& value, wxString errorMsg);
/**
* @brief Convert a string to int. Show a error message if the conversion fail.
@@ -562,7 +562,7 @@ public:
* @param value Int value converted.
* @param errorMsg Error message.
*/
- bool IntFromString(wxWindow* parent, wxString strValue, int& value, wxString errorMsg);
+ static bool IntFromString(wxWindow* parent, wxString strValue, int& value, wxString errorMsg);
/**
* @brief Convert a double value to string.