Suche Literatur für wxWindows-Programmierung
-
In jedem Buchladen findet man Berge von Büchern zu VC++ mit MFC oder zu Java, aber nichts zur wxWindows-Programmierung. Könnt ihr da helfen?
-
nö
Mir ist kein Titel bekannt.
-
Warum gibt es diese Literatur eigentlich nicht? Verwendent dies niemand?
-
Warte noch ein bisschen. Das ist momentan voll im Trend. Wenn das so weiter geht kommt bestimmt ein Buch dazu.
-
ein Buch (und ein offizielles Buch) sind in Arbeit, laut der ToDo - List auf der wxWindows - Seite... in der FAQ zu wxWindows findest du auch Informationenen uber das Buch, inkl. der geplanten Kapitel... Start des Buchprojekts war IIRC bereits 2000, AFAIK wird momentan nach Verlegern gesucht.... aber wenn du genaueres wissen willst, musst halt selber etwas rumsurfen auf www.wxwindows.org
andere Buecher ueber wxWindows gibts nicht, neben der offiziellen Doku gibts nur ein paar Tutorials im Netz drueber... aber zusammen mit dem Forum/Mailingliste der wxWindows-Seite sollte das eigentlich reichen.... Genuegend Wille zu trial'n'error vorausgesetzt
-
Zum Starten:
#include "wx/wxprec.h" #include "wx/wx.h" /*******************************************/ class MyFrame : public wxFrame { public: MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, long style = wxDEFAULT_FRAME_STYLE); void OnQuit (wxCommandEvent& event); }; MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size, long style) : wxFrame(NULL, -1, title, pos, size, style) { SetIcon(wxICON(MyIcon)); /* rc-File: MyIcon ICON MOVEABLE PURE LOADONCALL DISCARDABLE "smily.ico" */ /* Alternative: */ // SetIcon(wxICON(mondrian)); } void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) { Close(true); } /*******************************************/ class MyApp : public wxApp { public: virtual bool OnInit(); }; bool MyApp::OnInit() { MyFrame* frame = new MyFrame(_T("hello, world"), wxPoint(100,100), wxSize(200,100)); frame->Show(true); return true; } IMPLEMENT_APP(MyApp) /*******************************************/
-
thx!