wxGtk question Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 207
Joined: Sat Jul 21, 2007 12:17 pm

wxGtk question

Post by spectrum » Thu Jul 26, 2007 8:43 am

hi all,

i'm trying to understand: is it necessary that i use wxGtk, since gtk at the end is a Xlib wrapper, or i can use wxWidgets on linux, in a way that wxWidget directly use xlib, for a better performance ?

On my Debian distro seems i can compile only if i install the wxGtk librarty, otherwise i get errors like wxPoint or wxSize undefined.


Site Admin
Site Admin
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE » Thu Jul 26, 2007 9:06 am

It depends on what you want to achieve.

wxGTK, as the name suggests, is a wrapper for GTK (1.2 or 2.0). You'll need to have GTK and the GTK headers installed to compile wxGTK.

There is another port, wxX11, which uses X11 directly.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda

Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am

Post by Auria » Thu Jul 26, 2007 9:02 pm

It is to be noted that while wxX11 does not require GTK it is less complete than wxGTK

Post Reply