Search found 120 matches

by HeReSY
Fri Jul 06, 2007 6:10 am
Forum: C++ Development
Topic: Problems with wxThreads
Replies: 4
Views: 1118

Problems with wxThreads

Hi, i have a problem with two threads in my application. In that i use a global vector to store some data. Both vectors have access to this vector. But when i want to delete some data from the vector, my application crashes. typedef vector<TSSTatus*> PtrStatusList; // My global List PtrStatusList g_...
by HeReSY
Thu Jun 14, 2007 7:33 pm
Forum: C++ Development
Topic: Problems compiling wxWidgets with wxCTB
Replies: 2
Views: 862

yes, I'm under Windows, and now it works, juhu \:D/

HeReSY
by HeReSY
Thu Jun 14, 2007 6:04 pm
Forum: C++ Development
Topic: Problems compiling wxWidgets with wxCTB
Replies: 2
Views: 862

Problems compiling wxWidgets with wxCTB

Hi, i have aproblem with my wxWidgets application. I want to use wxCTB to communicate over the serial interface. The sample compiles correct and starts fine, but when i use it in my app i get these linker errors. D:\Library\libwxctb-0.8\lib\libwxctb.a(timer.o):timer.cpp:(.text+0x147): undefined refe...
by HeReSY
Sat Jun 09, 2007 12:43 pm
Forum: C++ Development
Topic: What ToolBar is This ?
Replies: 5
Views: 3134

Search for wxFlatMenu in this Forum.

HeReSY
by HeReSY
Sat Jun 09, 2007 12:42 pm
Forum: Component Writing
Topic: Tri state tree nodes
Replies: 9
Views: 3611

But you can use the methods IsSelected(...) or IsExpanded(...) and so on.

HeReSY
by HeReSY
Tue Apr 17, 2007 2:59 pm
Forum: General Development
Topic: Qt WidgetStack, Java CardLayout
Replies: 14
Views: 7546

I wrote this class a long time ago. It works fine for the last few month. wx/windowstack.h #ifndef WINDOWSTACK_H #define WINDOWSTACK_H //// Begin wxWidgets includes #include <wx/dynarray.h> #include <wx/wx.h> //// End wxWidgets includes //// Begin application specific includes //// End application s...
by HeReSY
Tue Feb 27, 2007 4:41 pm
Forum: General Development
Topic: Tutorials for SDL
Replies: 2
Views: 951

No, that's not that kind of tutorial i'm looking for.
This is for smart directmedia layer or so, but i'm looking for specification and description language.

HeReSY
by HeReSY
Mon Feb 26, 2007 5:58 pm
Forum: General Development
Topic: Tutorials for SDL
Replies: 2
Views: 951

Tutorials for SDL

Hi,

i'm looking for some tutorials for SDL (specification and description language). Has anyone some links for me?
The tuts can be in english or better for me in german.

HeReSY
by HeReSY
Wed Feb 21, 2007 11:03 am
Forum: C++ Development
Topic: [wxListCtrl] It just does nothing!
Replies: 5
Views: 1301

Hi, I use a wxListCtrl, but this should be the same. // Create your Columns here // Adding some items to the ctrl wxListItem item; item.SetId(row); //The row of the ctrl item.SetText(_("Some text")); item.SetImage(image); //The image index long tmp = ctrl->InsertItem(item); SetItemData(tmp...
by HeReSY
Mon Feb 19, 2007 8:41 pm
Forum: Platform Related Issues
Topic: How to replace the default wxWidget Icon ?
Replies: 3
Views: 1580

Add a resource file to your project.

resourcefile.rc

Code: Select all

name ICON "icon_name.ico"
HeReSY
by HeReSY
Mon Feb 05, 2007 8:24 pm
Forum: C++ Development
Topic: wxAUI for multiple frames
Replies: 6
Views: 1655

You can use for your main view a notebook for example, and when you change the page, you can change the contents of your floating panes.

HeReSY
by HeReSY
Sat Jan 20, 2007 11:36 am
Forum: wxDev-C++
Topic: how to get a wxcolour from a string?
Replies: 5
Views: 1575

i've tested this:

Code: Select all

wxColour colour;
colour.Set(_("#343434"));
SetBackgroundColour(colour);
and it works fine for me, so it should work also with a normal string.

HeReSY
by HeReSY
Sat Jan 20, 2007 1:38 am
Forum: wxDev-C++
Topic: Acessing wxTextCtrl from outside a wxPanel
Replies: 2
Views: 858

make a dynamic cast on that window.

Code: Select all

wxTextCtrl *text = (wxTextCtrl*)yourPanel->FindWindow(ID_TEXT_CTRL);
wxString string(text->Getvalue());
HeReSY
by HeReSY
Sat Jan 20, 2007 1:35 am
Forum: wxDev-C++
Topic: how to get a wxcolour from a string?
Replies: 5
Views: 1575

Do you save the colours in chars or in strings.
when in strings then have a look in the class wxTheColourDatabase, which colours are available at the moment.

HeReSY
by HeReSY
Fri Jan 19, 2007 9:10 pm
Forum: wxDev-C++
Topic: How to create instances of a class in runtime
Replies: 10
Views: 1986

You can also use a vector instead of an array, or the build in arrays from wxWidgets.
The advantage is, that the user can build as many heros as he/she wants.
With your array the user is limited, at the moment to 10 heros.

HeReSY