Power System Platform  2026w34a-beta
Loading...
Searching...
No Matches
BitmapPopup Class Reference
Inheritance diagram for BitmapPopup:
Collaboration diagram for BitmapPopup:

Public Member Functions

 BitmapPopup (wxWindow *parent)
void SetBitmap (const wxBitmap &bitmap)

Private Attributes

wxStaticBitmap * m_bitmap

Detailed Description

Definition at line 29 of file BusForm.h.

Constructor & Destructor Documentation

◆ BitmapPopup()

BitmapPopup::BitmapPopup ( wxWindow * parent)

Definition at line 575 of file BusForm.cpp.

575 : wxPopupWindow(parent, wxBORDER_SIMPLE)
576{
577 m_bitmap = new wxStaticBitmap(this, wxID_ANY, wxNullBitmap);
578}

Member Function Documentation

◆ SetBitmap()

void BitmapPopup::SetBitmap ( const wxBitmap & bitmap)

Definition at line 580 of file BusForm.cpp.

581{
582 m_bitmap->SetBitmap(bitmap);
583 m_bitmap->SetSize(bitmap.GetSize());
584 SetSize(bitmap.GetSize());
585}

Member Data Documentation

◆ m_bitmap

wxStaticBitmap* BitmapPopup::m_bitmap
private

Definition at line 37 of file BusForm.h.


The documentation for this class was generated from the following files: