aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: wxCas compilation error !  (Read 4447 times)

happymeteor

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
wxCas compilation error !
« on: March 29, 2005, 08:34:57 AM »

[root@bluethread aMule-2.0.0rc8]# make
make  all-recursive
make[1]: Entering directory `/home/ijung/down/aMule-2.0.0rc8'
Making all in m4
make[2]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ijung/down/aMule-2.0.0rc8/m4'
Making all in intl
make[2]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ijung/down/aMule-2.0.0rc8/intl'
Making all in po
make[2]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ijung/down/aMule-2.0.0rc8/po'
Making all in docs
make[2]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ijung/down/aMule-2.0.0rc8/docs'
Making all in src
make[2]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/src'
make  all-recursive
make[3]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/src'
Making all in utils
make[4]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/src/utils'
Making all in xas
make[5]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/src/utils/xas'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/ijung/down/aMule-2.0.0rc8/src/utils/xas'
Making all in cas
make[5]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/src/utils/cas'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/ijung/down/aMule-2.0.0rc8/src/utils/cas'
Making all in wxCas
make[5]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/src/utils/wxCas'
Making all in src
make[6]: Entering directory `/home/ijung/down/aMule-2.0.0rc8/src/utils/wxCas/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..    -I/usr/local/lib/wx/include/base-2.4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT wxcas-wxcas.o -MD -MP -MF ".deps/wxcas-wxcas.Tpo" -c -o wxcas-wxcas.o `test -f 'wxcas.cpp' || echo './'`wxcas.cpp; \
then mv -f ".deps/wxcas-wxcas.Tpo" ".deps/wxcas-wxcas.Po"; else rm -f ".deps/wxcas-wxcas.Tpo"; exit 1; fi
wxcas.cpp:51:2: #error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in setup.h to compile wxCas.
In file included from /usr/include/wx/gdicmn.h:29,
                 from /usr/include/wx/image.h:20,
                 from wxcas.cpp:54:
/usr/include/wx/font.h:82: error: expected class-name before '{' token
/usr/include/wx/font.h: In member function `bool wxFontBase::Ok() const':
..........

I think this problem is related to wxBase.
But, I installed wxBase-2.4.2.
What can be a problem?
Thank you!!!
Logged
Be happy!

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxCas compilation error !
« Reply #1 on: March 29, 2005, 08:40:31 AM »

for wxCas you need wxGTK; since wxCas is a Gui-App

did you install wxGTK aswell?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

oldforce

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
i installed everything
« Reply #2 on: March 29, 2005, 04:28:47 PM »

but wxcas error still continue

make[6]: Entering directory `/home/halil/aMule-2.0.0rc8/src/utils/wxCas/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..    -I/usr/lib/wx/include/base-2.4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT wxcas-wxcas.o -MD -MP -MF ".deps/wxcas-wxcas.Tpo" -c -o wxcas-wxcas.o `test -f 'wxcas.cpp' || echo './'`wxcas.cpp; \
then mv -f ".deps/wxcas-wxcas.Tpo" ".deps/wxcas-wxcas.Po"; else rm -f ".deps/wxcas-wxcas.Tpo"; exit 1; fi
wxcas.cpp:51:2: #error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in setup.hto compile wxCas.
In file included from /usr/include/wx/gdicmn.h:29,
                 from /usr/include/wx/image.h:20,
                 from wxcas.cpp:54:
/usr/include/wx/font.h:82: error: syntax error before `{' token
/usr/include/wx/font.h:104: error: non-member function `bool Ok()' cannot have `const' method qualifier
/usr/include/wx/font.h: In function `bool Ok()':
/usr/include/wx/font.h:104: error: `m_refData' undeclared (first use this function)
/usr/include/wx/font.h:104: error: (Each undeclared identifier is reported onlyonce for each function it appears in.)
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:107: error: non-member function `bool operator==(const wxFont&)' cannot have `const' method qualifier
/usr/include/wx/font.h:107: error: `bool operator==(const wxFont&)' must take exactly two arguments
/usr/include/wx/font.h:108: error: non-member function `bool operator!=(const wxFont&)' cannot have `const' method qualifier
/usr/include/wx/font.h:108: error: `bool operator!=(const wxFont&)' must take exactly two arguments
/usr/include/wx/font.h:111: error: virtual outside class declaration
/usr/include/wx/font.h:111: error: non-member function `int GetPointSize()' cannot have `const' method qualifier
/usr/include/wx/font.h:111: error: function `int GetPointSize()' is initializedlike a variable
/usr/include/wx/font.h:112: error: virtual outside class declaration
/usr/include/wx/font.h:112: error: non-member function `int GetFamily()' cannothave `const' method qualifier
/usr/include/wx/font.h:112: error: function `int GetFamily()' is initialized like a variable
/usr/include/wx/font.h:113: error: virtual outside class declaration
/usr/include/wx/font.h:113: error: non-member function `int GetStyle()' cannot have `const' method qualifier
/usr/include/wx/font.h:113: error: function `int GetStyle()' is initialized like a variable
/usr/include/wx/font.h:114: error: virtual outside class declaration
/usr/include/wx/font.h:114: error: non-member function `int GetWeight()' cannothave `const' method qualifier
/usr/include/wx/font.h:114: error: function `int GetWeight()' is initialized like a variable
/usr/include/wx/font.h:115: error: virtual outside class declaration
/usr/include/wx/font.h:115: error: non-member function `bool GetUnderlined()' cannot have `const' method qualifier
/usr/include/wx/font.h:115: error: function `bool GetUnderlined()' is initialized like a variable
/usr/include/wx/font.h:116: error: virtual outside class declaration
/usr/include/wx/font.h:116: error: non-member function `wxString GetFaceName()'cannot have `const' method qualifier
/usr/include/wx/font.h:116: error: function `wxString GetFaceName()' is initialized like a variable
/usr/include/wx/font.h:117: error: virtual outside class declaration
/usr/include/wx/font.h:117: error: non-member function `wxFontEncoding GetEncoding()' cannot have `const' method qualifier
/usr/include/wx/font.h:117: error: function `wxFontEncoding GetEncoding()' is initialized like a variable
/usr/include/wx/font.h:118: error: virtual outside class declaration
/usr/include/wx/font.h:118: error: non-member function `wxNativeFontInfo* GetNativeFontInfo()' cannot have `const' method qualifier
/usr/include/wx/font.h:120: error: virtual outside class declaration
/usr/include/wx/font.h:120: error: non-member function `bool IsFixedWidth()' cannot have `const' method qualifier
/usr/include/wx/font.h:122: error: non-member function `wxString GetNativeFontInfoDesc()' cannot have `const' method qualifier
/usr/include/wx/font.h:123: error: non-member function `wxString GetNativeFontInfoUserDesc()' cannot have `const' method qualifier
/usr/include/wx/font.h:126: error: virtual outside class declaration
/usr/include/wx/font.h:126: error: function `void SetPointSize(int)' is initialized like a variable
/usr/include/wx/font.h:127: error: virtual outside class declaration
/usr/include/wx/font.h:127: error: function `void SetFamily(int)' is initialized like a variable
/usr/include/wx/font.h:128: error: virtual outside class declaration
/usr/include/wx/font.h:128: error: function `void SetStyle(int)' is initializedlike a variable
/usr/include/wx/font.h:129: error: virtual outside class declaration
/usr/include/wx/font.h:129: error: function `void SetWeight(int)' is initialized like a variable
/usr/include/wx/font.h:130: error: virtual outside class declaration
/usr/include/wx/font.h:130: error: function `void SetFaceName(const wxString&)'is initialized like a variable
/usr/include/wx/font.h:131: error: virtual outside class declaration
/usr/include/wx/font.h:131: error: function `void SetUnderlined(bool)' is initialized like a variable
/usr/include/wx/font.h:132: error: virtual outside class declaration
/usr/include/wx/font.h:132: error: function `void SetEncoding(wxFontEncoding)' is initialized like a variable
/usr/include/wx/font.h:133: error: virtual outside class declaration
/usr/include/wx/font.h:140: error: non-member function `wxString GetFamilyString()' cannot have `const' method qualifier
/usr/include/wx/font.h:141: error: non-member function `wxString GetStyleString()' cannot have `const' method qualifier
/usr/include/wx/font.h:142: error: non-member function `wxString GetWeightString()' cannot have `const' method qualifier
/usr/include/wx/font.h:145: error: virtual outside class declaration
/usr/include/wx/font.h:146: error: virtual outside class declaration
/usr/include/wx/font.h: In function `wxFontEncoding GetDefaultEncoding()':
/usr/include/wx/font.h:150: error: `ms_encodingDefault' undeclared (first use this function)
/usr/include/wx/font.h: At global scope:
/usr/include/wx/font.h:153: error: syntax error before `protected'
In file included from wxcas.h:49,
                 from wxcas.cpp:57:
wxcasframe.h:63: error: base class `wxFrame' has incomplete type
wxcasframe.h:65: error: syntax error before `*' token
wxcasframe.h:66: error: field `m_toolBarBitmaps' has incomplete type
wxcasframe.h:68: error: syntax error before `*' token
wxcasframe.h:69: error: syntax error before `*' token
wxcasframe.h:71: error: syntax error before `*' token
wxcasframe.h:73: error: syntax error before `*' token
wxcasframe.h:79: error: syntax error before `*' token
wxcasframe.h:80: error: syntax error before `*' token
wxcasframe.h:82: error: syntax error before `*' token
wxcasframe.h:83: error: syntax error before `*' token
wxcasframe.h:85: error: syntax error before `*' token
wxcasframe.h:86: error: syntax error before `*' token
wxcasframe.h:88: error: syntax error before `*' token
wxcasframe.h:89: error: syntax error before `*' token
wxcasframe.h:91: error: syntax error before `*' token
wxcasframe.h:92: error: syntax error before `*' token
wxcasframe.h:93: error: syntax error before `*' token
wxcasframe.h:94: error: syntax error before `*' token
wxcasframe.h:95: error: syntax error before `*' token
wxcasframe.h:96: error: syntax error before `*' token
wxcasframe.h:98: error: syntax error before `*' token
wxcasframe.h:99: error: syntax error before `*' token
wxcasframe.h:101: error: syntax error before `*' token
wxcasframe.h:102: error: syntax error before `*' token
wxcasframe.h:105: error: syntax error before `*' token
wxcasframe.h:106: error: syntax error before `*' token
wxcasframe.h:113: error: syntax error before `*' token
wxcasframe.h:114: error: syntax error before `*' token
wxcasframe.h:160: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:160: error: `event' was not declared in this scope
wxcasframe.h:160: error: invalid data member initialization
wxcasframe.h:160: error: (use `=' to initialize static data members)
wxcasframe.h:160: error: variable or field `OnBarRefresh' declared void
wxcasframe.h:161: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:161: error: `event' was not declared in this scope
wxcasframe.h:161: error: invalid data member initialization
wxcasframe.h:161: error: variable or field `OnBarAbout' declared void
wxcasframe.h:162: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:162: error: `event' was not declared in this scope
wxcasframe.h:162: error: invalid data member initialization
wxcasframe.h:162: error: variable or field `OnBarSave' declared void
wxcasframe.h:163: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:163: error: `event' was not declared in this scope
wxcasframe.h:163: error: invalid data member initialization
wxcasframe.h:163: error: variable or field `OnBarPrint' declared void
wxcasframe.h:164: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:164: error: `event' was not declared in this scope
wxcasframe.h:164: error: invalid data member initialization
wxcasframe.h:164: error: variable or field `OnBarPrefs' declared void
wxcasframe.h:165: error: `wxTimerEvent' was not declared in this scope
wxcasframe.h:165: error: `event' was not declared in this scope
wxcasframe.h:165: error: invalid data member initialization
wxcasframe.h:165: error: variable or field `OnRefreshTimer' declared void
wxcasframe.h:166: error: `wxTimerEvent' was not declared in this scope
wxcasframe.h:166: error: `event' was not declared in this scope
wxcasframe.h:166: error: invalid data member initialization
wxcasframe.h:166: error: variable or field `OnFtpUpdateTimer' declared void
wxcasframe.h:167: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:167: error: `event' was not declared in this scope
wxcasframe.h:167: error: invalid data member initialization
wxcasframe.h:167: error: variable or field `OnHitButton' declared void
wxcasframe.h:168: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:168: error: `event' was not declared in this scope
wxcasframe.h:168: error: invalid data member initialization
wxcasframe.h:168: error: variable or field `OnAbsHitButton' declared void
wxcasframe.h:63: warning: `class WxCasFrame' has virtual functions but non-virtual destructor
wxcas.cpp: In function `wxApp* wxCreateApp()':
wxcas.cpp:60: error: cannot allocate an object of type `WxCas'
wxcas.cpp:60: error:   because the following virtual functions are abstract:
/usr/include/wx/app.h:131: error:       virtual int wxAppBase::OnRun()
wxcas.cpp: In member function `virtual bool WxCas::OnInit()':
wxcas.cpp:71: error: syntax error before `)' token
wxcas.cpp:76: error: syntax error before `)' token
wxcas.cpp:84: error: `SetPrintMode' undeclared (first use this function)
wxcas.cpp:94: error: `Show' undeclared (first use this function)
wxcas.cpp:95: error: `SetTopWindow' undeclared (first use this function)
wxcas.cpp: At top level:
/usr/include/wx/font.h:95: warning: `wxFont* New(int, int, int, int, bool, const wxString&, wxFontEncoding)' declared `static' but never defined
/usr/include/wx/font.h:98: warning: `wxFont* New(const wxNativeFontInfo&)' declared `static' but never defined
/usr/include/wx/font.h:101: warning: `wxFont* New(const wxString&)' declared `static' but never defined
/usr/include/wx/font.h:151: warning: `void SetDefaultEncoding(wxFontEncoding)' declared `static' but never defined
make[6]: *** [wxcas-wxcas.o] Error 1
make[6]: Leaving directory `/home/halil/aMule-2.0.0rc8/src/utils/wxCas/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/halil/aMule-2.0.0rc8/src/utils/wxCas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/halil/aMule-2.0.0rc8/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/halil/aMule-2.0.0rc8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/halil/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/halil/aMule-2.0.0rc8'
make: *** [all] Error 2
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxCas compilation error !
« Reply #3 on: March 29, 2005, 05:06:26 PM »

can you post

ls -la /usr/bin/wx*

and

ls -la /usr/local/bin/wx*

thnx
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: wxCas compilation error !
« Reply #4 on: March 29, 2005, 05:52:37 PM »

This is an old variant of a broken wx package.

oldforce, how did you install wx in your system? If it is rpm based, please post
$ rpm -qa | grep -i wx

I bet you are not using our wx packages. If not, uninstall all your wx and install all our:
http://www.amule.org/files/files.php?cat=12

Cheers!
Logged

oldforce

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
here is the result
« Reply #5 on: March 29, 2005, 06:49:27 PM »

wxGTK-2.4.2-1
wxGTK-devel-2.4.2-1
wxGTK-compat-2.5.2.8-3
wxBase-2.4.2-1


what is the source of error?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxCas compilation error !
« Reply #6 on: March 29, 2005, 06:51:38 PM »

wxGTK-compat-2.5.2.8-3  -- that package :)

and reinstall all the otehr once aswell to avoid problems, and when you are done set 2 symlinks to be able to compile

# ln -sf /usr/bin/wxgtk-2.4-config /usr/bin/wx-config
# ln -sf /usr/bin/wxbase-2.4-config /usr/bin/wxbase-config

then it should work

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

oldforce

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 13
an other problem
« Reply #7 on: March 29, 2005, 07:00:51 PM »

it solved that problem but what does this mean?

hen mv -f ".deps/amule-listctrl.Tpo" ".deps/amule-listctrl.Po"; else rm -f ".de
ps/amule-listctrl.Tpo"; exit 1; fi
listctrl.cpp:89:25: gtk/gtk.h: Böyle bir dosya ya da dizin yok
In file included from listctrl.cpp:90:
/usr/include/wx/gtk/win_gtk.h:18:21: gdk/gdk.h: Böyle bir dosya ya da dizin yok
/usr/include/wx/gtk/win_gtk.h:19:22: gdk/gdkx.h: Böyle bir dosya ya da dizin yok
/usr/include/wx/gtk/win_gtk.h:20:30: gtk/gtkcontainer.h: Böyle bir dosya ya da d
izin yok
/usr/include/wx/gtk/win_gtk.h:21:31: gtk/gtkadjustment.h: Böyle bir dosya ya da
dizin yok
/usr/include/wx/gtk/win_gtk.h:23:29: gtk/gtkfeatures.h: Böyle bir dosya ya da di
zin yok
In file included from listctrl.cpp:90:
/usr/include/wx/gtk/win_gtk.h:54: error: 'GtkContainer' is used as a type, but i
s not defined as a type.
/usr/include/wx/gtk/win_gtk.h:55: error: syntax error before `*' token
/usr/include/wx/gtk/win_gtk.h:66: error: 'GdkVisibilityState' is used as a type,
 but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:71: error: 'gboolean' is used as a type, but is no
t defined as a type.
/usr/include/wx/gtk/win_gtk.h:72: error: 'gboolean' is used as a type, but is no
t defined as a type.
/usr/include/wx/gtk/win_gtk.h:73: error: 'gboolean' is used as a type, but is no
t defined as a type.
/usr/include/wx/gtk/win_gtk.h:78: error: 'GtkContainerClass' is used as a type,
but is not defined as a type.
/usr/include/wx/gtk/win_gtk.h:92: error: type specifier omitted for parameter `g
boolean'
/usr/include/wx/gtk/win_gtk.h:92: error: syntax error before `)' token
/usr/include/wx/gtk/win_gtk.h:95: error: type specifier omitted for parameter `g
boolean'
/usr/include/wx/gtk/win_gtk.h:95: error: syntax error before `)' token
/usr/include/wx/gtk/win_gtk.h:98: error: type specifier omitted for parameter `g
boolean'
/usr/include/wx/gtk/win_gtk.h:98: error: syntax error before `)' token
listctrl.cpp: In member function `void wxODListHeaderWindow::DoDrawRect(wxDC*, i
nt, int, int, int)':
listctrl.cpp:1953: error: `GtkStateType' undeclared (first use this function)
listctrl.cpp:1953: error: (Each undeclared identifier is reported only once for
each function it appears in.)
listctrl.cpp:1953: error: syntax error before `=' token
listctrl.cpp:1958: error: invalid use of undefined type `struct _GtkWidget'
/usr/include/wx/defs.h:2079: error: forward declaration of `struct _GtkWidget'
listctrl.cpp:1958: error: syntax error before `)' token
listctrl.cpp:1958: error: `GTK_CHECK_CAST' undeclared (first use this function)
listctrl.cpp:1959: error: `state' undeclared (first use this function)
listctrl.cpp:1959: error: `GTK_SHADOW_OUT' undeclared (first use this function)
listctrl.cpp:1960: error: `GdkRectangle' undeclared (first use this function)
listctrl.cpp:1960: error: syntax error before `)' token
listctrl.cpp:1951: warning: unused parameter `int y'
listctrl.cpp:1951: warning: unused parameter `int w'
listctrl.cpp:1951: warning: unused parameter `int h'
listctrl.cpp: In member function `virtual wxListItemAttr* wxODGenericListCtrl::OnGetItemAttr(long int) const':
listctrl.cpp:5632: warning: unused parameter `long int item'
make[4]: *** [amule-listctrl.o] Hata 1
make[4]: Leaving directory `/home/halil/aMule-2.0.0rc8/src'
make[3]: *** [all-recursive] Hata 1
make[3]: Leaving directory `/home/halil/aMule-2.0.0rc8/src'
make[2]: *** [all] Hata 2
make[2]: Leaving directory `/home/halil/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Hata 1
make[1]: Leaving directory `/home/halil/aMule-2.0.0rc8'
make: *** [all] Hata 2
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: wxCas compilation error !
« Reply #8 on: March 29, 2005, 08:49:32 PM »

you miss gtk.h

which is in some gtk or gtk2 package from your distro...this has nothing todo with wxGTK dont get confused here
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."