summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 89f76e6dc..c93777daa 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -80,7 +80,7 @@ class LandInfoWindow : public Window {
public:
char landinfo_data[LAND_INFO_LINES][LAND_INFO_LINE_BUFF_SIZE];
- virtual void HandlePaintEvent()
+ virtual void OnPaint()
{
DrawWindowWidgets(this);