mail[Wesnoth-commits] r28354 - /trunk/src/editor2/editor_controller.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by kailoran on August 07, 2008 - 07:43:
Author: ilor
Date: Wed Aug  6 19:53:24 2008
New Revision: 28354

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28354&view=rev
Log:
fix compilation error

Modified:
    trunk/src/editor2/editor_controller.cpp

Modified: trunk/src/editor2/editor_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_controller.cpp?rev=28354&r1=28353&r2=28354&view=diff
==============================================================================
--- trunk/src/editor2/editor_controller.cpp (original)
+++ trunk/src/editor2/editor_controller.cpp Wed Aug  6 19:53:24 2008
@@ -22,6 +22,7 @@
 #include "gui/dialogs/editor_new_map.hpp"
 #include "gui/dialogs/editor_generate_map.hpp"
 #include "gui/widgets/button.hpp"
+#include "gui/widgets/window.hpp"
 
 #include "../config_adapter.hpp"
 #include "../construct_dialog.hpp"
@@ -165,7 +166,7 @@
        
        dialog.show(gui().video());
        int res = dialog.get_retval();
-       if(res == gui2::tbutton::OK) {
+       if(res == gui2::twindow::OK) {
                int w = dialog.map_width();
                int h = dialog.map_height();
                t_translation::t_terrain fill = t_translation::GRASS_LAND;




Related Messages


Powered by MHonArc, Updated Thu Aug 07 09:00:50 2008