PDA

View Full Version : [SOLVED] [ C++ ] Gtk on Windows shows both, console and Gtk window.



OpenGuard
October 27th, 2009, 03:04 PM
How do I get rid of the console window ?


#include <gtkmm.h>

using namespace Gtk;

int main(int argc, char *argv[])
{
Main kit(argc, argv);
Window window;
Main::run(window);

return 0;
}
http://img12.imageshack.us/img12/5085/gtkconsole.th.png (http://img12.imageshack.us/i/gtkconsole.png/)