STD_BITMAP_BUTTON can be in kicommon
This commit is contained in:
parent
e17d81cf6d
commit
5bfc601e09
|
@ -96,6 +96,7 @@ set( KICOMMON_SRCS
|
||||||
kicad_curl/kicad_curl_easy.cpp
|
kicad_curl/kicad_curl_easy.cpp
|
||||||
|
|
||||||
widgets/progress_reporter_base.cpp
|
widgets/progress_reporter_base.cpp
|
||||||
|
widgets/std_bitmap_button.cpp
|
||||||
|
|
||||||
advanced_config.cpp
|
advanced_config.cpp
|
||||||
asset_archive.cpp
|
asset_archive.cpp
|
||||||
|
@ -316,7 +317,6 @@ set( COMMON_WIDGET_SRCS
|
||||||
widgets/search_pane_base.cpp
|
widgets/search_pane_base.cpp
|
||||||
widgets/search_pane_tab.cpp
|
widgets/search_pane_tab.cpp
|
||||||
widgets/split_button.cpp
|
widgets/split_button.cpp
|
||||||
widgets/std_bitmap_button.cpp
|
|
||||||
widgets/stepped_slider.cpp
|
widgets/stepped_slider.cpp
|
||||||
widgets/text_ctrl_eval.cpp
|
widgets/text_ctrl_eval.cpp
|
||||||
widgets/ui_common.cpp
|
widgets/ui_common.cpp
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#ifndef STD_BITMAP_BUTTON_H
|
#ifndef STD_BITMAP_BUTTON_H
|
||||||
#define STD_BITMAP_BUTTON_H
|
#define STD_BITMAP_BUTTON_H
|
||||||
|
|
||||||
|
#include <kicommon.h>
|
||||||
#include <wx/bmpbndl.h>
|
#include <wx/bmpbndl.h>
|
||||||
#include <wx/panel.h>
|
#include <wx/panel.h>
|
||||||
|
|
||||||
|
@ -41,7 +42,7 @@ class wxButton;
|
||||||
* allows our bitmap buttons to match the layout of our SPLIT_BUTTON.
|
* 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:
|
public:
|
||||||
// For use with wxFormBuilder on a sub-classed wxBitmapButton
|
// For use with wxFormBuilder on a sub-classed wxBitmapButton
|
||||||
|
|
Loading…
Reference in New Issue