mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-08-22 23:12:27 -04:00
Add a proper icon to the SDR Devices dialog
This commit is contained in:
parent
848d1bf0e3
commit
2d97353365
@ -8,6 +8,10 @@
|
|||||||
|
|
||||||
#include "CubicSDR.h"
|
#include "CubicSDR.h"
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#include "CubicSDR.xpm"
|
||||||
|
#endif
|
||||||
|
|
||||||
SDRDevicesDialog::SDRDevicesDialog( wxWindow* parent ): devFrame( parent, wxID_ANY, wxT(CUBICSDR_INSTALL_NAME " :: SDR Devices")) {
|
SDRDevicesDialog::SDRDevicesDialog( wxWindow* parent ): devFrame( parent, wxID_ANY, wxT(CUBICSDR_INSTALL_NAME " :: SDR Devices")) {
|
||||||
refresh = true;
|
refresh = true;
|
||||||
failed = false;
|
failed = false;
|
||||||
@ -20,6 +24,13 @@ SDRDevicesDialog::SDRDevicesDialog( wxWindow* parent ): devFrame( parent, wxID_A
|
|||||||
removeId = nullptr;
|
removeId = nullptr;
|
||||||
devAddDialog = nullptr;
|
devAddDialog = nullptr;
|
||||||
dev = nullptr;
|
dev = nullptr;
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
SetIcon(wxICON(cubicsdr));
|
||||||
|
#elif _WIN32
|
||||||
|
SetIcon(wxICON(frame_icon));
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDRDevicesDialog::OnClose( wxCloseEvent& /* event */) {
|
void SDRDevicesDialog::OnClose( wxCloseEvent& /* event */) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user