doublemax wrote:Can you try what happens when you link wxWidgets statically?
Sorry, that's above me. I get a lot of strange linker errors when I build my program. I'm using my own library, that is using wxGrid. This library links wxWidgets dynamically. I guess it is not possible to use a mix, isn't it?
And the opposite test, can you build the "grid" sample that comes with wxWidgets with dynamic linking and then start 5 instances of the sample and see what happen?
The compiler runs w/o errors or warnings. But if I start the programm, I get a wxWidgets debug alert:
Code: Select all
../..src/msw/window.cpp(3750): assert "wclass" failed in MSWCreate():
failed to register window class?
What is going wrong here?
I do not operate with nonexistent rows. As a next step after creation I append the required number of rows. This is similar to the wxWidgets grid sample.