You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-------------- Build: win_gcc in taskbarbutton (compiler: GNU GCC Compiler)---------------
[ 50.0%] g++.exe -g -IF:/msys2/mingw64/lib/wx/include/msw-unicode-3.2 -IF:/msys2/mingw64/include/wx-3.2 -mthreads -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMSW__ -DHAVE_W32API_H -D_UNICODE -fmessage-length=0 -pipe -c F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp -o .objs\win_gcc\taskbarbutton.o
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:125:22: error: 'wxThumbBarButton' was not declared in this scope; did you mean 'OnAddThubmBarButton'?
125 | typedef wxVector<wxThumbBarButton*> wxThumbBarButtons;
| ^~~~~~~~~~~~~~~~
| OnAddThubmBarButton
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:125:39: error: template argument 1 is invalid
125 | typedef wxVector<wxThumbBarButton*> wxThumbBarButtons;
| ^
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:125:39: error: template argument 2 is invalid
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'virtual bool MyApp::OnInit()':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:136:5: error: 'wxTaskBarJumpList' was not declared in this scope
136 | wxTaskBarJumpList jumpList;
| ^~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:137:5: error: 'wxTaskBarJumpListItem' was not declared in this scope
137 | wxTaskBarJumpListItem *item1 = new wxTaskBarJumpListItem(
| ^~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:137:28: error: 'item1' was not declared in this scope
137 | wxTaskBarJumpListItem *item1 = new wxTaskBarJumpListItem(
| ^~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:137:40: error: expected type-specifier before 'wxTaskBarJumpListItem'
137 | wxTaskBarJumpListItem *item1 = new wxTaskBarJumpListItem(
| ^~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:146:28: error: 'item2' was not declared in this scope
146 | wxTaskBarJumpListItem *item2 = new wxTaskBarJumpListItem(
| ^~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:146:40: error: expected type-specifier before 'wxTaskBarJumpListItem'
146 | wxTaskBarJumpListItem *item2 = new wxTaskBarJumpListItem(
| ^~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:155:5: error: 'jumpList' was not declared in this scope
155 | jumpList.GetTasks().Append(item1);
| ^~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:157:13: error: expected type-specifier before 'wxTaskBarJumpListItem'
157 | new wxTaskBarJumpListItem(NULL, wxTASKBAR_JUMP_LIST_SEPARATOR));
| ^~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:162:5: error: 'wxTaskBarJumpListCategory' was not declared in this scope
162 | wxTaskBarJumpListCategory* customCategory =
| ^~~~~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:162:32: error: 'customCategory' was not declared in this scope
162 | wxTaskBarJumpListCategory* customCategory =
| ^~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:163:13: error: expected type-specifier before 'wxTaskBarJumpListCategory'
163 | new wxTaskBarJumpListCategory(&jumpList, "Custom");
| ^~~~~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:164:28: error: 'item3' was not declared in this scope
164 | wxTaskBarJumpListItem* item3 = new wxTaskBarJumpListItem(
| ^~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:164:40: error: expected type-specifier before 'wxTaskBarJumpListItem'
164 | wxTaskBarJumpListItem* item3 = new wxTaskBarJumpListItem(
| ^~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:176:11: error: 'wxTaskBarJumpListCategory' does not name a type
176 | const wxTaskBarJumpListCategory& frequentCategory =
| ^~~~~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:178:11: error: 'wxTaskBarJumpListItems' does not name a type
178 | const wxTaskBarJumpListItems& frequentItems = frequentCategory.GetItems();
| ^~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:179:29: error: 'frequentItems' was not declared in this scope
179 | for ( size_t i = 0; i < frequentItems.size(); ++i )
| ^~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:184:11: error: 'wxTaskBarJumpListCategory' does not name a type
184 | const wxTaskBarJumpListCategory& recentCategory =
| ^~~~~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:186:11: error: 'wxTaskBarJumpListItems' does not name a type
186 | const wxTaskBarJumpListItems& recentItems = recentCategory.GetItems();
| ^~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:187:29: error: 'recentItems' was not declared in this scope
187 | for ( size_t i = 0; i < recentItems.size(); ++i )
| ^~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:193:18: error: 'class MyFrame' has no member named 'MSWGetTaskBarButton'
193 | if ( !frame->MSWGetTaskBarButton() )
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnSetProgressValue(wxScrollEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:333:7: error: 'MSWGetTaskBarButton' was not declared in this scope
333 | MSWGetTaskBarButton()->SetProgressRange(100);
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:337:5: error: 'MSWGetTaskBarButton' was not declared in this scope
337 | MSWGetTaskBarButton()->SetProgressValue(m_slider->GetValue());
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnVisibilityChange(wxCommandEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:343:9: error: 'MSWGetTaskBarButton' was not declared in this scope
343 | MSWGetTaskBarButton()->Show();
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:345:9: error: 'MSWGetTaskBarButton' was not declared in this scope
345 | MSWGetTaskBarButton()->Hide();
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnSetThumbnailTooltipBtn(wxCommandEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:350:5: error: 'MSWGetTaskBarButton' was not declared in this scope
350 | MSWGetTaskBarButton()->SetThumbnailTooltip(m_textCtrl->GetLineText(0));
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnChoice(wxCommandEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:356:5: error: 'wxTaskBarButtonState' was not declared in this scope
356 | wxTaskBarButtonState state;
| ^~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:360:13: error: 'state' was not declared in this scope; did you mean 'stat'?
360 | state = wxTASKBAR_BUTTON_NO_PROGRESS;
| ^~~~~
| stat
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:360:21: error: 'wxTASKBAR_BUTTON_NO_PROGRESS' was not declared in this scope
360 | state = wxTASKBAR_BUTTON_NO_PROGRESS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:363:21: error: 'wxTASKBAR_BUTTON_INDETERMINATE' was not declared in this scope
363 | state = wxTASKBAR_BUTTON_INDETERMINATE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:366:21: error: 'wxTASKBAR_BUTTON_NORMAL' was not declared in this scope
366 | state = wxTASKBAR_BUTTON_NORMAL;
| ^~~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:369:21: error: 'wxTASKBAR_BUTTON_ERROR' was not declared in this scope
369 | state = wxTASKBAR_BUTTON_ERROR;
| ^~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:372:21: error: 'wxTASKBAR_BUTTON_PAUSED' was not declared in this scope
372 | state = wxTASKBAR_BUTTON_PAUSED;
| ^~~~~~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:379:5: error: 'MSWGetTaskBarButton' was not declared in this scope
379 | MSWGetTaskBarButton()->SetProgressValue(m_slider->GetValue());
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:380:45: error: 'state' was not declared in this scope; did you mean 'stat'?
380 | MSWGetTaskBarButton()->SetProgressState(state);
| ^~~~~
| stat
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnSetOverlayIcon(wxCommandEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:385:5: error: 'MSWGetTaskBarButton' was not declared in this scope
385 | MSWGetTaskBarButton()->SetOverlayIcon(CreateRandomIcon());
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnClearOverlayIcon(wxCommandEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:390:5: error: 'MSWGetTaskBarButton' was not declared in this scope
390 | MSWGetTaskBarButton()->SetOverlayIcon(wxNullIcon);
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnSetOrRestoreThumbnailClip(wxCommandEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:407:5: error: 'MSWGetTaskBarButton' was not declared in this scope
407 | MSWGetTaskBarButton()->SetThumbnailClip(rect);
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnAddThubmBarButton(wxCommandEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:412:28: error: request for member 'size' in '((MyFrame*)this)->MyFrame::m_thumbBarButtons', which is of non-class type 'MyFrame::wxThumbBarButtons' {aka 'int'}
412 | if ( m_thumbBarButtons.size() >= 7 )
| ^~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:415:5: error: 'wxThumbBarButton' was not declared in this scope; did you mean 'wxThumbBarButtons'?
415 | wxThumbBarButton *button =
| ^~~~~~~~~~~~~~~~
| wxThumbBarButtons
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:415:23: error: 'button' was not declared in this scope; did you mean 'wxButton'?
415 | wxThumbBarButton *button =
| ^~~~~~
| wxButton
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:416:13: error: expected type-specifier before 'wxThumbBarButton'
416 | new wxThumbBarButton(m_thumbBarButtons.size() + ThumbnailToolbarBtn_0 ,
| ^~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:418:5: error: 'MSWGetTaskBarButton' was not declared in this scope
418 | MSWGetTaskBarButton()->AppendThumbBarButton(button);
| ^~~~~~~~~~~~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:419:23: error: request for member 'push_back' in '((MyFrame*)this)->MyFrame::m_thumbBarButtons', which is of non-class type 'MyFrame::wxThumbBarButtons' {aka 'int'}
419 | m_thumbBarButtons.push_back(button);
| ^~~~~~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp: In member function 'void MyFrame::OnRemoveThubmBarButton(wxCommandEvent&)':
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:424:28: error: request for member 'empty' in '((MyFrame*)this)->MyFrame::m_thumbBarButtons', which is of non-class type 'MyFrame::wxThumbBarButtons' {aka 'int'}
424 | if ( m_thumbBarButtons.empty() )
| ^~~~~
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:427:5: error: 'wxThumbBarButton' was not declared in this scope; did you mean 'wxThumbBarButtons'?
427 | wxThumbBarButton* button = m_thumbBarButtons.back();
| ^~~~~~~~~~~~~~~~
| wxThumbBarButtons
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:427:23: error: 'button' was not declared in this scope; did you mean 'wxButton'?
427 | wxThumbBarButton* button = m_thumbBarButtons.back();
| ^~~~~~
| wxButton
F:\code\cb_projects_for_wxWidgets\samples\taskbarbutton\taskbarbutton.cpp:427:50: error: request for member 'back' in '((MyFrame*)this)->MyFrame::m_thumbBarButtons', which is of non-class type 'MyFrame::wxThumbBarButtons' {aka 'int'}
Process terminated with status 1 (0 minute(s), 11 second(s))
50 error(s), 0 warning(s) (0 minute(s), 11 second(s))
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: