diff options
Diffstat (limited to 'src/gui/textfield.h')
-rw-r--r-- | src/gui/textfield.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/textfield.h b/src/gui/textfield.h index a9be41e7..808b73ab 100644 --- a/src/gui/textfield.h +++ b/src/gui/textfield.h @@ -40,6 +40,11 @@ class TextField : public gcn::TextField { TextField(const std::string& text = ""); /** + * Destructor. + */ + ~TextField(); + + /** * Draws the text field. */ virtual void draw(gcn::Graphics *graphics); @@ -50,7 +55,8 @@ class TextField : public gcn::TextField { void drawBorder(gcn::Graphics *graphics); private: - ImageRect skin; + static int instances; + static ImageRect skin; }; #endif |