Hi Niklas,

Am Freitag, 20. Mai 2016 17:56:39 UTC+2 schrieb Niklas Mischkulnig:
>
> Hi Thomas, 
>
> I thought of adding a override as well (it compiles), but it doesn't 
> with wxOVERRIDE.
>

I forgot: wxOVERRIDE was introduced in wxWidgets 3.1. So it does not work 
with 3.0. I drop the wxOVERRIDE Sorry for the disturbance.
 

> WxWidgets docs say one should include <wx/defs.h>, but even then 
> wxOVERRIDE isn't defined. There is not a single
> occurence of wxOVERRIDE in any header in include/wx-3.0/wx , 
>

You look probably in the doc of wxWidgets 3.1 or trunk. There it is used.
 

> but it shouldn't cause a compile-time error?
>
> src/hugin1/ptbatcher/PTBatcherGUI.h:112:54: error: expected ';' at end of 
> declaration list
>     void MacOpenFiles(const wxArrayString &fileNames) wxOVERRIDE;
>

When wxOVERRIDE is not define then the compiler has no idea what to do with 
this part and barfs.

Thomas

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/97b4961a-83da-4a82-a1ec-ba742d5f8eca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to