Le 19/09/2016 à 13:53, Maciej Sumiński a écrit : > Hi Simon, > > Can you give more details about the assert? Perhaps it is a different > problem and should be solved in another way. > > wxWidgets documentation[1] says it is necessary to create a wxPaintDC > object, even if it is not used. IIRC GAL worked on every platform even > when it has not created wxPaintDC object, but if the documentation says > it should be there, I would rather follow the advice. > > Regards, > Orson >
It is true, but it could be a old info in wxWidgets, not yet updated, and not true in a wxGLCanvas wxPaintEvent. Just for info, I also saw this assert during tests on Ubuntu, with wxWidgets compiled with GTK3 (working only in GAL mode, because the "legacy" canvas does not work with GTK3). -- Jean-Pierre CHARRAS _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp