www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - Error on resource file - help

reply Roger deBry <Roger_member pathlink.com> writes:
I have successfully compiled the minimal example. However, I tried to write the
same example from scratch and I get the following error in the resource file
wx/msw/wx.rc, when compiling:

Error: missing decl-specifier-seq for declaration of 'xWindowsMenu'

I have compared my code with the minimal sample until I am blue in the face, and
I cannot spot any differences. Why does my code not compile? 
Jan 20 2004
parent chris elliott <biol75 york.ac.uk> writes:
Roger deBry wrote:

 I have successfully compiled the minimal example. However, I tried to write the
 same example from scratch and I get the following error in the resource file
 wx/msw/wx.rc, when compiling:
 
 Error: missing decl-specifier-seq for declaration of 'xWindowsMenu'
 
is there somwhere a xWindowsmenu which should be wxWindowsMenu; looks like a typing error as this means that xWindowsMenu was not declared somewhere? chris
Jan 20 2004