Search found 17 matches
- Fri Feb 25, 2011 8:56 am
- Forum: C++ Development
- Topic: wx 2.9.1 makes floats with commas instead of dots?
- Replies: 3
- Views: 1211
- Thu Feb 24, 2011 5:06 pm
- Forum: C++ Development
- Topic: wx 2.9.1 makes floats with commas instead of dots?
- Replies: 3
- Views: 1211
I found out that the problem is much more severe than I thought. It also affects functions like printf and many of Irrlicht's string operations (I use Irrlicht+wxWidgets). Irrlicht's xml parser gets thrown of by floats with commas just like the ToDouble function and the wxStringArray. I don't think ...
- Wed Feb 23, 2011 7:19 pm
- Forum: C++ Development
- Topic: wx 2.9.1 makes floats with commas instead of dots?
- Replies: 3
- Views: 1211
wx 2.9.1 makes floats with commas instead of dots?
Hi, I have been trying to solve this error for some time now, but no luck. When trying out the propertyGrid in the wxFormBuilder floatproperties are formated like this: "0.234" or "243.1" but in my program I can only use floats like this "0,234" or "243,1". Si...
- Wed Jan 06, 2010 3:25 pm
- Forum: C++ Development
- Topic: wxTreeCtrl->Delete deletes everything but the items
- Replies: 15
- Views: 7331
Ok after solving one problem more than I asked for it works :D Thanks doublemax that was wrong all along :) Now deletion of items wokrs like it should and it does not crash anymore. DeleteAllItems works as well. I guess that this method called the destructors of the (thought to be) itemdata, causing...
- Wed Jan 06, 2010 12:15 pm
- Forum: C++ Development
- Topic: wxTreeCtrl->Delete deletes everything but the items
- Replies: 15
- Views: 7331
Alright, (I hope) I have corrected all syntax specific flaws: http://rapidshare.com/files/331163899/treeproblem.zip.html Still it crashes :( (Thanks for the pointerexplanations, I never really got the hang of that). doublemax: I have changed that, but in the original program, I am working with Irrli...
- Wed Jan 06, 2010 6:35 am
- Forum: C++ Development
- Topic: wxTreeCtrl->Delete deletes everything but the items
- Replies: 15
- Views: 7331
- Tue Jan 05, 2010 10:15 pm
- Forum: C++ Development
- Topic: wxTreeCtrl->Delete deletes everything but the items
- Replies: 15
- Views: 7331
Hm..
I have not been able to reproduce the exact same error, but the program crashes anyway (And I think I did everything right).
Maybe there is an obvious flaw in my programm which I am unable to identify.
http://rapidshare.com/files/330901066/t ... m.zip.html
greetings
I have not been able to reproduce the exact same error, but the program crashes anyway (And I think I did everything right).
Maybe there is an obvious flaw in my programm which I am unable to identify.
http://rapidshare.com/files/330901066/t ... m.zip.html
greetings
- Mon Jan 04, 2010 3:28 pm
- Forum: C++ Development
- Topic: wxTreeCtrl->Delete deletes everything but the items
- Replies: 15
- Views: 7331
The iterator has nothing to do with it (it works on several other occasions), even with the recursive FindItem method I have the same problem. I have now connected a method to the wxEVT_COMMAND_TREE_DELETE_ITEM event and the function is called everytime and the item is valid. But just refuses to get...
- Mon Jan 04, 2010 8:46 am
- Forum: C++ Development
- Topic: wxTreeCtrl->Delete deletes everything but the items
- Replies: 15
- Views: 7331
Ok I have checked in every possible way, even with invoking the first routine from here: http://wiki.wxwidgets.org/WxTreeCtrl And the ID is ok, the Item is found, the data is valid until it comes down to: treeCtrl_ObjectManager->Delete(tmpID); Sometimes it works alright, but sometimes it just stops ...
- Sun Jan 03, 2010 11:02 pm
- Forum: C++ Development
- Topic: wxTreeCtrl->Delete deletes everything but the items
- Replies: 15
- Views: 7331
- Sun Jan 03, 2010 8:17 pm
- Forum: C++ Development
- Topic: wxTreeCtrl->Delete deletes everything but the items
- Replies: 15
- Views: 7331
wxTreeCtrl->Delete deletes everything but the items
Hi, currently I am fighting with wxTreeCtrl. All I want to do is adding and removing items. Therefore I first stored the itemids in a list (from irrlicht), but when casting the iterator to an id and calling tree->Delete(id) nothing happend. So then I wrote a container class with only one wxTreeItemI...
- Sat Dec 19, 2009 3:15 pm
- Forum: C++ Development
- Topic: How do I use a wxStaticBox?
- Replies: 3
- Views: 1187
- Thu Dec 17, 2009 8:55 pm
- Forum: C++ Development
- Topic: How do I use a wxStaticBox?
- Replies: 3
- Views: 1187
How do I use a wxStaticBox?
Hi, sorry to bother again, but I am a little confused. I want to use a FlexGridSizer within a StaticBox. I already searched for it, but I only found other StaticBox related problems. I got so far: wxStaticBox *TransformationsBox = new wxStaticBox(MainPanel, -1, wxT("Transformations"),wxPoi...
- Tue Dec 15, 2009 4:23 pm
- Forum: C++ Development
- Topic: Sizer do not work
- Replies: 6
- Views: 3666
- Tue Dec 15, 2009 4:05 pm
- Forum: C++ Development
- Topic: Sizer do not work
- Replies: 6
- Views: 3666