Search found 449 matches

by mael15
Tue Nov 01, 2011 3:06 pm
Forum: C++ Development
Topic: wxSortedArray not resorted when item modified
Replies: 5
Views: 932

Re: wxSortedArray not resorted when item modified

basically i have a simple WX_DEFINE_SORTED_ARRAY(Object*, ArrayOfObjectPointers); ArrayOfObjectPointers *arr= new ArrayOfObjectPointers(compareObjectsByP); arr->Add(new Objekt(20)); arr->Add(new Objekt(10)); int first = arr->Item(0)->p; // first == 10 (correct) arr->Item(0)->p = 30; // now it should...
by mael15
Tue Nov 01, 2011 2:18 pm
Forum: C++ Development
Topic: wxSortedArray not resorted when item modified
Replies: 5
Views: 932

wxSortedArray not resorted when item modified

hi everyone, i have a wxSortedArray with pointers to objects. these objects are compared by their property p and the compare function works. whenever i add an item to the array, it gets added at the right position. the problem is, whenever i modify p of any objekt, the array does not get resorted! i...
by mael15
Thu Oct 27, 2011 4:51 pm
Forum: Compiler / Linking / IDE Related
Topic: load wxWidgets symbols
Replies: 6
Views: 1724

Re: load wxWidgets symbols

is is possible at all to load wxWidgets symbols?
by mael15
Wed Oct 26, 2011 8:57 am
Forum: Compiler / Linking / IDE Related
Topic: load wxWidgets symbols
Replies: 6
Views: 1724

load wxWidgets symbols

hi everyone, i am having trouble loading wxWidgets symbols in vidual studio 2010 pro. i.e. in the call stack i have the entry "wxbase28ud_vc_custom.dll!007ab029()" in light grey, meaning the symbols were not loaded. i have the option of loading them with right click, but the error message pops up "t...
by mael15
Fri Feb 18, 2011 12:01 pm
Forum: C++ Development
Topic: showModal, but click on wxDC in main window
Replies: 5
Views: 1396

for those with this problem, wxWindowDisabler did not work, because i wanted to have an underlying nested wxWindow handle mouse clicks. wxWindowDisabler disables all of the parents of the nested window, so no mouse click came through. the solution was to recursively disable all parents and all of th...
by mael15
Wed Feb 16, 2011 2:54 pm
Forum: C++ Development
Topic: showModal, but click on wxDC in main window
Replies: 5
Views: 1396

thanx you, that looks exactly like what i was searching!
by mael15
Wed Feb 16, 2011 12:39 pm
Forum: C++ Development
Topic: showModal, but click on wxDC in main window
Replies: 5
Views: 1396

yeah, thanx, but i want the user to be able to access ONLY the wxDC, not the rest of the application. so is it the only way to use show() and then disable every other input option than the wxDC by hand?
by mael15
Wed Feb 16, 2011 10:35 am
Forum: C++ Development
Topic: showModal, but click on wxDC in main window
Replies: 5
Views: 1396

showModal, but click on wxDC in main window

hi everyone, i open a dialog via showModal and within that dialog, i want to activate a possibility to click on a wxDC in the main application. the problem is, I still want to disable clicking on anything else but the wxDC outside of the dialog. is there some way to make an exception to showModal or...
by mael15
Fri Oct 29, 2010 12:00 pm
Forum: Compiler / Linking / IDE Related
Topic: cannot link dynamically to wxWidgets
Replies: 1
Views: 591

problem is solved, i had to change my preprocessor symbols to only _DEBUG and WXUSINGDLL. before that, my project did not use the wx dll version.
by mael15
Fri Oct 29, 2010 11:58 am
Forum: C++ Development
Topic: wxString already defined in dll
Replies: 30
Views: 7237

hi andre, i finally found the mistake, my preprocessor symbols where messed up. everything works not with only _DEBUG and WXUSINGDLL. i did not really understand preprocessor symbols before, so i just tried different things that i found on the internet without knowing what i was doing. i also built ...
by mael15
Thu Oct 28, 2010 4:05 pm
Forum: C++ Development
Topic: wxString already defined in dll
Replies: 30
Views: 7237

it just convince me that this the origin of your problem
so how can i get the missing symbols to show up in the libs included in the vc_dll dir?!
by mael15
Thu Oct 28, 2010 3:54 pm
Forum: C++ Development
Topic: wxString already defined in dll
Replies: 30
Views: 7237

i can compile the dll just fine when i use the lib dir vc_lib instead of vc_dll. but that does not help me, because i MUST link dynamically. otherwise i get a lot of "symbol wxXYZ already defined in XYZ.lib" errors when compiling my app. :?:
by mael15
Thu Oct 28, 2010 3:14 pm
Forum: C++ Development
Topic: wxString already defined in dll
Replies: 30
Views: 7237

i checked all 22 libs and "wxFalse" is in none of them. does this mean that something went wrong with the wxWidgets compilation?
by mael15
Thu Oct 28, 2010 2:56 pm
Forum: C++ Development
Topic: wxString already defined in dll
Replies: 30
Views: 7237

To be sure you recompile everything, you can force a clean by suppressing all .o files
oh, i see. yes, i used the clean command and it did not change the problem.

how can i find out in which wx lib the symbol wxFalse should be? [/quote]
by mael15
Thu Oct 28, 2010 2:43 pm
Forum: Compiler / Linking / IDE Related
Topic: cannot link dynamically to wxWidgets
Replies: 1
Views: 591

cannot link dynamically to wxWidgets

hi everyone, this is a thread continued from this post in the wxWidgets section: http://forums.wxwidgets.org/viewtopic.php?t=29235 my problem is, that i am not able to get a dynamically linked wxwidgets to work. i have to link dynamically, because my app and one dll both use wx libraries. i use vs20...