Search found 6681 matches

by Auria
Mon Feb 26, 2007 11:52 pm
Forum: C++ Development
Topic: wx osg memory leak
Replies: 2
Views: 867

Re: wx osg memory leak

wxWidgets 1.8.0 This is a typo, right? :lol: Well i have no idea if you're a beginner so pardon me if you're not and i'm repeating basic stuff, but the only 2 objects allocated by your code in this snippet are: eventQueue_ = new osgGA::EventQueue(osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS); actio...
by Auria
Mon Feb 26, 2007 11:46 pm
Forum: C++ Development
Topic: [sample] not able to compile the "widgets" sample
Replies: 10
Views: 1870

This is an english forum, i doubt that many people will understand the german errors :lol: at least i don't
by Auria
Mon Feb 26, 2007 11:39 pm
Forum: C++ Development
Topic: Main frame collecting Dialog info?
Replies: 57
Views: 3902

Okay you haven't taken me seriously but now please do. Forget about your app for a while. Forget about wxWidgets for a while. By a while i mean at least 1 or 2 weaks. You will most probably need more to master everything. You're posting more and more bits of code that doesn't make any sense, you obv...
by Auria
Mon Feb 26, 2007 1:56 am
Forum: C++ Development
Topic: Does wxWidgets 2.8 leak memory?
Replies: 12
Views: 2200

only the first one seems to be related to wxWidgets
by Auria
Mon Feb 26, 2007 1:08 am
Forum: C++ Development
Topic: Does wxWidgets 2.8 leak memory?
Replies: 12
Views: 2200

Well from the summary nothing can be told - leaks could come from GTK, other libs, etc. You'll need to analyse all output thouroughly and determine which ones belong to wxWidgets if any. Though, i would too be interested to know if wxWidgets was Valgrinded - though probably not. IMO a lot of program...
by Auria
Mon Feb 26, 2007 1:03 am
Forum: C++ Development
Topic: Main frame collecting Dialog info?
Replies: 57
Views: 3902

It expects .

On pointers, use ->
On instances use .

Sadly, this shows me that you did not read and practice as i asked you since this is very basic.
by Auria
Sun Feb 25, 2007 9:00 pm
Forum: C++ Development
Topic: Main frame collecting Dialog info?
Replies: 57
Views: 3902

No, the user shouldn't have to know it. I will though, as I need to update the list specified by myself in NUDInfo instancename; instancename.UpdateListCtrl(NameOfListCtrl); It just makes it easier for me to know what list control I am inserting the name into. If I go down the path of telling it wh...
by Auria
Sun Feb 25, 2007 6:31 pm
Forum: Platform Related Issues
Topic: Toolbar problems wxMac 2.8
Replies: 3
Views: 831

Is the toolbar sample fine?
by Auria
Sun Feb 25, 2007 3:25 pm
Forum: C++ Development
Topic: Main frame collecting Dialog info?
Replies: 57
Views: 3902

Is ListCtrlName a wxString?? You need to append to the wxListCtrl, not to the wxString!! there is no InsertItem method in wxString Exactly. Sorry for not mentioning that, was doing a quick and dirty post, many things going on today :) So what I'm attempting to do right now is collect the name of th...
by Auria
Sun Feb 25, 2007 2:20 am
Forum: C++ Development
Topic: Main frame collecting Dialog info?
Replies: 57
Views: 3902

From the docs: http://www.wxwidgets.org/manuals/2.8.0/wx_wxlistctrl.html#wxlistctrlinsertitem long InsertItem(long index, const wxString& label) Inserts a string item. It does take a wxString, why are you talking of converting to char* ? I don't really get what's wrong, if you get an error message p...
by Auria
Sat Feb 24, 2007 8:57 pm
Forum: C++ Development
Topic: Shared build
Replies: 2
Views: 586

it compiled but couldn't link.
Any error message?
by Auria
Sat Feb 24, 2007 7:27 pm
Forum: C++ Development
Topic: Main frame collecting Dialog info?
Replies: 57
Views: 3902

Ok, trying to compile my simple little class. Here's what I get: On this part: NUDInfo::SetNewUserName(NewUserNameString) { ContactNameString = NewUserNameString; } I just get this error: error: expected constructor, destructor, or type conversion before '(' token. FlyingIsFun1217 i would need to s...
by Auria
Sat Feb 24, 2007 2:22 pm
Forum: C++ Development
Topic: Main frame collecting Dialog info?
Replies: 57
Views: 3902

Why not use a method? dialogClosed() Well, guess I just hadn't heard enough about it. Would it be in this sort of format, under the Main Frame cpp file?: void DialogNotFrame::dialogClosed() { NUDInfo instancename; instancename.UpdateListCtrl(); } FlyingIsFun1217 :) Well you could place the method i...
by Auria
Sat Feb 24, 2007 12:54 am
Forum: C++ Development
Topic: Main frame collecting Dialog info?
Replies: 57
Views: 3902

Hey wait a bit i'm not on my computer all day long hitting refresh :P NUDInfo::SetNewUserName() { ContactNameString = ContactNameEntry->GetValue(); } This is wrong - ContactNameEntry is located in dialog , so frame [or NUDInfo or whatever] does not have access to it directly. something around these ...
by Auria
Fri Feb 23, 2007 11:08 pm
Forum: C++ Development
Topic: WxSizers and update
Replies: 5
Views: 733

Which is the difference between them? wxTextCtrl is a text area - just like the one you typed in when typing this reply. Making a non-editable text area can indeed be easier for just displaying a bunch of text The advantage is that lines will automatically warp, whereas with staticText you would ne...