diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index a041f84ec0..3e5e80fae8 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -96,6 +96,7 @@ set( KICOMMON_SRCS kicad_curl/kicad_curl_easy.cpp widgets/progress_reporter_base.cpp + widgets/std_bitmap_button.cpp advanced_config.cpp asset_archive.cpp @@ -316,7 +317,6 @@ set( COMMON_WIDGET_SRCS widgets/search_pane_base.cpp widgets/search_pane_tab.cpp widgets/split_button.cpp - widgets/std_bitmap_button.cpp widgets/stepped_slider.cpp widgets/text_ctrl_eval.cpp widgets/ui_common.cpp diff --git a/include/widgets/std_bitmap_button.h b/include/widgets/std_bitmap_button.h index 666e21f7e9..de1ee0d9dc 100644 --- a/include/widgets/std_bitmap_button.h +++ b/include/widgets/std_bitmap_button.h @@ -25,6 +25,7 @@ #ifndef STD_BITMAP_BUTTON_H #define STD_BITMAP_BUTTON_H +#include #include #include @@ -41,7 +42,7 @@ class wxButton; * allows our bitmap buttons to match the layout of our SPLIT_BUTTON. */ -class STD_BITMAP_BUTTON : public wxPanel +class KICOMMON_API STD_BITMAP_BUTTON : public wxPanel { public: // For use with wxFormBuilder on a sub-classed wxBitmapButton