j'ai un problème de synthaxe avec mon header

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 
#ifndef _FRAME_H_
#define _FRAME_H_
 
class Frame: public wxFrame
{
    public:
           Frame(wxWindow* parent, 
                        wxWindowID id = -1,
                        const wxString& caption = _("myFTP v0.1"),
                        const wxPoint& pos = wxDefaultPosition,
                        const wxSize& size = wxDefaultSize,
                        long style = wxDEFAULT_FRAME_STYLE);
           ~Frame();
           bool Create(wxWindow* parent,
                       wxWindowID id = -1,
                       const wxString& caption = _("myFTP v0.1"),
                       const wxPoint& pos = wxDefaultPosition,
                       const wxSize& size = wxDefaultSize,
                       long style = wxDEFAULT_FRAME_STYLE);
};
#endif // _FRAME_H_
 
Frame::Frame(wxWindow* parent, wxWindowID id, const wxString& caption,
const wxPoint& pos, const wxSize& size, long style)
{
         Create(parent, id, caption, pos, size, style);
}
Frame::~Frame()
{
}
bool Frame::Create(wxWindow* parent, wxWindowID id, const wxString& caption,
                       const wxPoint& pos, const wxSize& size, long style)
{
         wxFrame::Create(parent, id, caption, pos, size, style);
         return TRUE;
}
et les erreurs renvoyées sont

LINE 5 test1.h expected class-name before '{' token
line 7 test1.h expected ')' before '*' token
line 13 test1.h excepted ';' before '(' token
line 7 test1.cpp expected ')' before '*' token
line 7 test1.cpp expected ',' or ';' before '*' token
line15 test1.cpp bool Frame::Create' is not a static member of 'class Frame'

--------
Attention c'est la balise code et non quote qu'il faut utiliser