-------------- Build: Debug Win32 in testapp ---------------
Compiling: testapp.cpp
C:\Temp\webconnect-1.1\testapp\testapp.cpp: In constructor ‘MyFrame::MyFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
C:\Temp\webconnect-1.1\testapp\testapp.cpp:396:5: fout: ‘wxAuiToolBar’ was not declared in this scope
C:\Temp\webconnect-1.1\testapp\testapp.cpp:396:19: fout: ‘toolbar’ was not declared in this scope
C:\Temp\webconnect-1.1\testapp\testapp.cpp:396:33: fout: expected type-specifier before ‘wxAuiToolBar’
C:\Temp\webconnect-1.1\testapp\testapp.cpp:396:33: fout: expected ‘;’ before ‘wxAuiToolBar’
Process terminated with status 1 (0 minutes, 1 seconds)
4 errors, 0 warnings
// create the main toolbar
Line 396:
- Code: Select all
wxAuiToolBar* toolbar = new wxAuiToolBar(this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
wxAUI_TB_DEFAULT_STYLE);
toolbar->SetToolBitmapSize(wxSize(24,24));
toolbar->AddTool(ID_GoBack, wxT("Go Back"), wxArtProvider::GetBitmap(wxART_GO_BACK));
toolbar->AddTool(ID_GoForward, wxT("Go Forward"), wxArtProvider::GetBitmap(wxART_GO_FORWARD));
toolbar->AddTool(ID_GoHome, wxT("Go Home"), wxArtProvider::GetBitmap(wxART_GO_HOME));
m_urlbar = new wxComboBox(toolbar, wxID_URL, wxT(""), wxPoint(0,0), wxSize(850,18));
toolbar->AddControl(m_urlbar, wxT("Location"));
toolbar->Realize();
Any help would be apreciated!