[ wxwindows-Bugs-1720130 ] A minor 'bug' or 'annoyance' with header file.

SourceForge.net noreply at sourceforge.net
Tue Feb 26 07:05:33 PST 2008


Bugs item #1720130, was opened at 2007-05-16 16:08
Message generated for change (Comment added) made by juliansmart
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1720130&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: RichTextCtrl
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Brian A. Vanderburg II (brianvanderburg)
Assigned to: Julian Smart (juliansmart)
Summary: A minor 'bug' or 'annoyance' with header file.

Initial Comment:
When compiling a program and a source file includes he header file 'wx/richtext/richtextstyledlg.h', it complains about ISO forbids uses of undeclared type etc for wxButton (I'm not using precompiled headers and not including the bulk 'wx/wx.h')

It just needs the forward declarations for these items in the file.  Rich now, I just do:

class wxButton;
class wxCheckBox;
#include "wx/richtext/richtextstyledlg.h"

to fix the problem.

----------------------------------------------------------------------

>Comment By: Julian Smart (juliansmart)
Date: 2008-02-26 15:05

Message:
Logged In: YES 
user_id=59495
Originator: NO

Fixed, thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1720130&group_id=9863




More information about the wx-dev mailing list