Search found 115 matches

by zambizzi
Sun Feb 13, 2005 6:34 pm
Forum: C++ Development
Topic: my app can't find a shared library
Replies: 1
Views: 773

my app can't find a shared library

Hi all. I'm trying to build a simple wx app on linux using Anjuta . My app uses IBPP, a 3rd. party library for connecting to a Firebird database. I've successfully compiled the lib, linked and included it, and am able to compile the app just fine. However, when I run it, the program crashes and says...
by zambizzi
Sun Feb 13, 2005 1:06 am
Forum: C++ Development
Topic: dynamic UI widgets at runtime
Replies: 1
Views: 860

dynamic UI widgets at runtime

I need to write a dialog that contains a series of horizontally-displayed UI widgets dynamically, at run-time. What would be my best approach? Isn't there some sort of container or panel that will auto-size them for me? That is my biggest concern, making them appear in a nice row in an attractive wa...
by zambizzi
Sun Feb 06, 2005 10:25 pm
Forum: C++ Development
Topic: convert other types to wxString
Replies: 3
Views: 989

That worked great, thanks!
by zambizzi
Sun Feb 06, 2005 9:46 pm
Forum: C++ Development
Topic: a *simple* drawing example?
Replies: 4
Views: 2225

Bingo! Now that's perfect, thanks!

I'll take a look and try it out.

-v
by zambizzi
Sun Feb 06, 2005 9:11 pm
Forum: C++ Development
Topic: wxWidgets memory management
Replies: 10
Views: 2281

Ahh, I figured it was just the widgets given the examples I've been looking at.

Thanks guys!
by zambizzi
Sun Feb 06, 2005 9:10 pm
Forum: C++ Development
Topic: a *simple* drawing example?
Replies: 4
Views: 2225

...

Yeah, unfortunately that doesn't really help me. What I'm looking for is some simple examples, not a reference straight from the wxWidgets manual. I'd like to see how other people are using it, some tips & techniques, etc. The sample was just too huge and complicated, just like many others in the sa...
by zambizzi
Sun Feb 06, 2005 9:07 pm
Forum: C++ Development
Topic: convert other types to wxString
Replies: 3
Views: 989

convert other types to wxString

How can I convert other data types (int, double, object types, etc.) to a wxString type?

This problem arose for me (and became obvious that it isn't a simple cast) while trying to use the Append method of the wxComboBox and passing in an integer value.

Thanks!
by zambizzi
Sun Feb 06, 2005 7:30 pm
Forum: C++ Development
Topic: a *simple* drawing example?
Replies: 4
Views: 2225

a *simple* drawing example?

I'm simply trying to draw a rectangular box w/ a background color onto my wxFrame window. I checked out the "drawing" example in the samples directory but it's extremely complicated and looks like several hundreds of lines of code. What I need is just a simple example, I don't need to write a photos...
by zambizzi
Sun Feb 06, 2005 5:11 pm
Forum: C++ Development
Topic: wxWidgets memory management
Replies: 10
Views: 2281

wxWidgets memory management

I've been told that wxWidgets will do its own cleanup as far as creating/deleting objects, is this true in every case or just w/ some widgets? For example, with wxConfig: http://wxwidgets.org/manuals/2.4.2/wx72.htm#wxconfigbase You'll notice in the example that it is being deleted explicitly, is thi...
by zambizzi
Sat Feb 05, 2005 8:32 pm
Forum: C++ Development
Topic: multiple inheritence & wxWidgets
Replies: 12
Views: 3000

Avi wrote:zambizzi, use
instead of
at the END of the quote... ;)
Thanks!
by zambizzi
Sat Feb 05, 2005 6:15 am
Forum: C++ Development
Topic: multiple inheritence & wxWidgets
Replies: 12
Views: 3000

rebuttal...

Haha...you're obviously very opposed to this design geon! So you want to create a class to manage a large number of widgets of the same type? Exactly... Normally one would use an array of widgets... Also not a bad solution but this defeats the purpose of trying to minimize the amount of code in the ...
by zambizzi
Fri Feb 04, 2005 4:11 am
Forum: C++ Development
Topic: Linux to Windows
Replies: 9
Views: 2424

Hi all, why dont u try getting the MingW compiler and win32 libraries downloaded in Linux and compile wxWidgets with i586-mingw32msvc-gcc support and then compile sample programs.....................??? i havent tried yet this out..but VLC Media Player uses this concept and produces .exe files in L...
by zambizzi
Fri Feb 04, 2005 4:07 am
Forum: C++ Development
Topic: multiple inheritence & wxWidgets
Replies: 12
Views: 3000

example...

Let's say I've got a wxFrame w/ 10 wxStaticBox controls, 20 wxButton controls, 20 or so wxComboBox controls, etc. This class, with all of these controls contained in it, can get quite large and a little tough to read/manage. Now let's say, for example, I take those 20 combo boxes and put them into a...
by zambizzi
Wed Feb 02, 2005 6:31 pm
Forum: C++ Development
Topic: multiple inheritence & wxWidgets
Replies: 12
Views: 3000

Hi! I suggest reading a bit on C++ here. A nice resource can be found here http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html There you can download the "famous" "Thinking in C++" books. The examples are sometimes confusing, but the articles mostly cover all the important stuff plus some addi...
by zambizzi
Wed Feb 02, 2005 6:26 pm
Forum: C++ Development
Topic: multiple inheritence & wxWidgets
Replies: 12
Views: 3000

Performance isn't an issue. The overhead added by any OO design woudn't even be noticeable on a 486. Still, I don't see why you need multiple inheritence here. What advantage do you get over the current design? I thought I had explained why I did this. This way, I can encapsulate controls into sepa...