- fixed problem with last_menu not being able to handle menues deeper than two submenues
[supertux.git] / src / button.h
index a6850fe..69af7f3 100644 (file)
@@ -43,8 +43,8 @@ class Button
 
   private:
     static Timer popup_timer;
-    texture_type icon;
-    texture_type* bkgd;
+    Surface* icon;
+    Surface* bkgd;
     std::string info;
     SDLKey shortcut;
     SDL_Rect rect;