STD_BITMAP_BUTTON can be in kicommon

This commit is contained in:
Marek Roszko 2023-12-27 17:08:05 -05:00
parent e17d81cf6d
commit 5bfc601e09
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -25,6 +25,7 @@
#ifndef STD_BITMAP_BUTTON_H
#define STD_BITMAP_BUTTON_H
#include <kicommon.h>
#include <wx/bmpbndl.h>
#include <wx/panel.h>
@ -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