Search found 497 matches

by FlyingIsFun1217
Sat Aug 09, 2008 2:32 pm
Forum: General Development
Topic: wxDataViewModel and companion classes ?
Replies: 6
Views: 1671

wxDataViewModel is the base class for all data model to be displayed by a wxDataViewCtrl.
So basically, the building blocks for the contents of a wxDataViewCtrl.

FlyingIsFun1217
by FlyingIsFun1217
Sat Aug 09, 2008 2:29 pm
Forum: wxCode
Topic: Build databaselayer with Mingw32 and CodeBlock
Replies: 2
Views: 1049

----------EDIT---------
Ignore my silliness! Sorry :oops:

FlyingIsFun1217
by FlyingIsFun1217
Sat Aug 09, 2008 2:26 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu 8.0.4 wxWidgets compile problem, in Code::Blocks
Replies: 8
Views: 1929

Glad your problem was sorted out!

FlyingIsFun1217
by FlyingIsFun1217
Sat Aug 09, 2008 2:25 pm
Forum: C++ Development
Topic: start-up event
Replies: 7
Views: 841

No biggie ;)

FlyingIsFun1217
by FlyingIsFun1217
Fri Aug 08, 2008 11:27 pm
Forum: C++ Development
Topic: wxImage ConverTo wxBitmap how to ?
Replies: 15
Views: 2629

Maybe post your source, I'm sure this would help quite a bit.

FlyingIsFun1217
by FlyingIsFun1217
Fri Aug 08, 2008 10:02 pm
Forum: C++ Development
Topic: wxImage ConverTo wxBitmap how to ?
Replies: 15
Views: 2629

Since wxImage and wxBitmap are custom types, you cannot typecast as you can with the standard library. Every try typecasting a char to a wxString? It doesn't work well, does it? ;) Again, I would suggest trying the method I posted, I can guarantee it will work (the method, not my code). FlyingIsFun1...
by FlyingIsFun1217
Fri Aug 08, 2008 9:56 pm
Forum: C++ Development
Topic: start-up event
Replies: 7
Views: 841

For future reference, you click 'Accept!' on the post that solved your error / problem, not your own. And no, clicking on your own post does not give you wxPoints ;)

FlyingIsFun1217
by FlyingIsFun1217
Fri Aug 08, 2008 9:39 pm
Forum: C++ Development
Topic: Getting Component Sizes/Locations?
Replies: 18
Views: 1812

Alright, I'll just post my basic class implementation, and you can show me the errs of my ways :) class KeyCatchCtrl { public: KeyCatchCtrl(wxWindow *parent, wxPoint &position, wxSize &size) : wxWindow(parent, position, size); }; KeyCatchCtrl::KeyCatchCtrl(wxWindow *parent, wxPoint &position, wxSize...
by FlyingIsFun1217
Fri Aug 08, 2008 9:31 pm
Forum: C++ Development
Topic: start-up event
Replies: 7
Views: 841

Think of OnInit as your main().

And where are you creating your wxListBox? Why not just load what you need there, since you KNOW it's being initialized there?

FlyingIsFun1217
by FlyingIsFun1217
Fri Aug 08, 2008 8:55 pm
Forum: C++ Development
Topic: start-up event
Replies: 7
Views: 841

Lets say that wxWidgets wasn't involved at all. How would you get something to happen on startup? Even a VERY basic program: How would you get the terminal to echo "Hello World" out?

FlyingIsFun1217 ;)
by FlyingIsFun1217
Fri Aug 08, 2008 8:39 pm
Forum: C++ Development
Topic: wxImage ConverTo wxBitmap how to ?
Replies: 15
Views: 2629

wxBitmap(const wxImage& img, int depth = -1) Creates bitmap object from the image. This has to be done to actually display an image as you cannot draw an image directly on a window. The resulting bitmap will use the provided colour depth (or that of the current system if depth is -1) which entails ...
by FlyingIsFun1217
Fri Aug 08, 2008 1:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu 8.0.4 wxWidgets compile problem, in Code::Blocks
Replies: 8
Views: 1929

And it'd probably be best to try this on a stable operating system (when you say 9.04 I assume you mean 8.10, the latest 'release').

FlyingIsFun1217
by FlyingIsFun1217
Fri Aug 08, 2008 1:42 pm
Forum: Component Writing
Topic: Has anyone done a wx(Rich)TextCtrl with markers?
Replies: 1
Views: 693

Well, CodeBlocks does it, which leads me to believe that looking into something like wxScintilla would help.

FlyingIsFun1217
by FlyingIsFun1217
Fri Aug 08, 2008 1:39 pm
Forum: C++ Development
Topic: Getting Component Sizes/Locations?
Replies: 18
Views: 1812

I'm still confused. Of course, like I said, I've never really done any inheritance work like this. Are we saying that none of the constructors have inheritance (including the class, and it's functions), and the actual function declarations get it? Again, this still gives errors. Looks like I need to...
by FlyingIsFun1217
Fri Aug 08, 2008 2:14 am
Forum: C++ Development
Topic: Getting Component Sizes/Locations?
Replies: 18
Views: 1812

last, the constructor for wxWindow is expecting a wxPoint& and wxSize& and not a wxPoint* and wxSize*. Did you mean to change these? As in: KeyCatchCtrl::KeyCatchCtrl(wxWindow *parent, wxPoint &position, wxSize &size) : public wxWindow Right? If so, I still end up with (generally speaking) the same...