KiCad PCB EDA Suite
NET_SELECTOR_COMBOPOPUP Class Reference
Inheritance diagram for NET_SELECTOR_COMBOPOPUP:

Public Member Functions

 NET_SELECTOR_COMBOPOPUP ()
 
bool Create (wxWindow *aParent) override
 
wxWindow * GetControl () override
 
void SetStringValue (const wxString &aNetName) override
 
wxString GetStringValue () const override
 
void SetNetInfo (NETINFO_LIST *aNetInfoList)
 
void SetIndeterminate ()
 
bool IsIndeterminate ()
 
void SetSelectedNetcode (int aNetcode)
 
int GetSelectedNetcode ()
 
void SetSelectedNet (const wxString &aNetname)
 
wxString GetSelectedNetname ()
 
wxSize GetAdjustedSize (int aMinWidth, int aPrefHeight, int aMaxHeight) override
 
void OnPopup () override
 
void OnStartingKey (wxKeyEvent &aEvent)
 
void Accept ()
 

Protected Member Functions

wxSize updateSize ()
 
void rebuildList ()
 
void onIdle (wxIdleEvent &aEvent)
 
void onMouseMoved (const wxPoint aScreenPos)
 
void onMouseClick (wxMouseEvent &aEvent)
 
void onKeyDown (wxKeyEvent &aEvent)
 
void onEnter (wxCommandEvent &aEvent)
 
void onFilterEdit (wxCommandEvent &aEvent)
 
void doStartingKey (wxKeyEvent &aEvent)
 
void doSetFocus (wxWindow *aWindow)
 

Protected Attributes

wxTextValidator * m_filterValidator
 
wxTextCtrl * m_filterCtrl
 
wxListBox * m_listBox
 
int m_minPopupWidth
 
int m_maxPopupHeight
 
NETINFO_LISTm_netinfoList
 
int m_selectedNetcode
 
wxEvtHandler * m_focusHandler
 

Detailed Description

Definition at line 51 of file net_selector.cpp.

Constructor & Destructor Documentation

◆ NET_SELECTOR_COMBOPOPUP()

NET_SELECTOR_COMBOPOPUP::NET_SELECTOR_COMBOPOPUP ( )
inline

Definition at line 54 of file net_selector.cpp.

54  :
55  m_filterValidator( nullptr ),
56  m_filterCtrl( nullptr ),
57  m_listBox( nullptr ),
58  m_minPopupWidth( -1 ),
59  m_maxPopupHeight( 1000 ),
60  m_netinfoList( nullptr ),
61  m_selectedNetcode( 0 ),
62  m_focusHandler( nullptr )
63  { }
wxTextValidator * m_filterValidator
wxEvtHandler * m_focusHandler
NETINFO_LIST * m_netinfoList

Member Function Documentation

◆ Accept()

void NET_SELECTOR_COMBOPOPUP::Accept ( )
inline

Definition at line 172 of file net_selector.cpp.

173  {
174  wxString selectedNetName;
175  int selection = m_listBox->GetSelection();
176 
177  if( selection >= 0 )
178  selectedNetName = m_listBox->GetString( (unsigned) selection );
179 
180  if( selectedNetName.IsEmpty() )
181  {
182  m_selectedNetcode = -1;
183  GetComboCtrl()->SetValue( INDETERMINATE );
184  }
185  else if( selectedNetName == NO_NET )
186  {
187  m_selectedNetcode = 0;
188  GetComboCtrl()->SetValue( NO_NET );
189  }
190  else
191  {
192  NETINFO_ITEM* netInfo = m_netinfoList->GetNetItem( selectedNetName );
193 
194  if( netInfo == nullptr || netInfo->GetNet() == 0 )
195  {
196  m_selectedNetcode = 0;
197  GetComboCtrl()->SetValue( NO_NET );
198  }
199  else
200  {
201  m_selectedNetcode = netInfo->GetNet();
202  GetComboCtrl()->SetValue( selectedNetName );
203  }
204  }
205 
206  wxCommandEvent changeEvent( NET_SELECTED );
207  wxPostEvent( GetComboCtrl(), changeEvent );
208 
209  Dismiss();
210  }
NETINFO_LIST * m_netinfoList
#define INDETERMINATE
#define NO_NET
Class NETINFO_ITEM handles the data for a net.
Definition: netinfo.h:65
int GetNet() const
Function GetNet.
Definition: netinfo.h:227
NETINFO_ITEM * GetNetItem(int aNetCode) const
Function GetItem.

References NETINFO_ITEM::GetNet(), NETINFO_LIST::GetNetItem(), INDETERMINATE, m_listBox, m_netinfoList, m_selectedNetcode, and NO_NET.

Referenced by onEnter(), onKeyDown(), and onMouseClick().

◆ Create()

bool NET_SELECTOR_COMBOPOPUP::Create ( wxWindow *  aParent)
inlineoverride

Definition at line 65 of file net_selector.cpp.

66  {
67  wxPanel::Create( aParent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSIMPLE_BORDER );
68 
69  wxBoxSizer* mainSizer;
70  mainSizer = new wxBoxSizer( wxVERTICAL );
71 
72  wxStaticText* filterLabel = new wxStaticText( this, wxID_ANY, _( "Filter:" ) );
73  mainSizer->Add( filterLabel, 0, wxEXPAND, 0 );
74 
75  m_filterCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition,
76  wxDefaultSize, wxTE_PROCESS_ENTER );
77  m_filterValidator = new wxTextValidator( wxFILTER_EXCLUDE_CHAR_LIST );
78  m_filterValidator->SetCharExcludes( " " );
79  m_filterCtrl->SetValidator( *m_filterValidator );
80  mainSizer->Add( m_filterCtrl, 0, wxEXPAND, 0 );
81 
82  m_listBox = new wxListBox( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, 0,
83  wxLB_SINGLE|wxLB_NEEDED_SB );
84  mainSizer->Add( m_listBox, 0, wxEXPAND|wxTOP, 2 );
85 
86  SetSizer( mainSizer );
87  Layout();
88 
89  Connect( wxEVT_IDLE, wxIdleEventHandler( NET_SELECTOR_COMBOPOPUP::onIdle ), NULL, this );
90  Connect( wxEVT_CHAR_HOOK, wxKeyEventHandler( NET_SELECTOR_COMBOPOPUP::onKeyDown ), NULL, this );
91  Connect( wxEVT_LEFT_DOWN, wxMouseEventHandler( NET_SELECTOR_COMBOPOPUP::onMouseClick ), NULL, this );
92  m_listBox->Connect( wxEVT_LEFT_DOWN, wxMouseEventHandler( NET_SELECTOR_COMBOPOPUP::onMouseClick ), NULL, this );
93  m_filterCtrl->Connect( wxEVT_TEXT, wxCommandEventHandler( NET_SELECTOR_COMBOPOPUP::onFilterEdit ), NULL, this );
94  m_filterCtrl->Connect( wxEVT_TEXT_ENTER, wxCommandEventHandler( NET_SELECTOR_COMBOPOPUP::onEnter ), NULL, this );
95 
96  // <enter> in a ListBox comes in as a double-click on GTK
97  m_listBox->Connect( wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, wxCommandEventHandler( NET_SELECTOR_COMBOPOPUP::onEnter ), NULL, this );
98 
99  return true;
100  }
void onIdle(wxIdleEvent &aEvent)
void onFilterEdit(wxCommandEvent &aEvent)
wxTextValidator * m_filterValidator
void onKeyDown(wxKeyEvent &aEvent)
void onEnter(wxCommandEvent &aEvent)
void onMouseClick(wxMouseEvent &aEvent)

References m_filterCtrl, m_filterValidator, m_listBox, onEnter(), onFilterEdit(), onIdle(), onKeyDown(), and onMouseClick().

◆ doSetFocus()

void NET_SELECTOR_COMBOPOPUP::doSetFocus ( wxWindow *  aWindow)
inlineprotected

Definition at line 439 of file net_selector.cpp.

440  {
441 #ifdef __WXOSX_MAC__
442  aWindow->OSXForceFocus();
443 #else
444  aWindow->SetFocus();
445 #endif
446  }

Referenced by onKeyDown(), onMouseMoved(), and OnStartingKey().

◆ doStartingKey()

void NET_SELECTOR_COMBOPOPUP::doStartingKey ( wxKeyEvent &  aEvent)
inlineprotected

Definition at line 406 of file net_selector.cpp.

407  {
408  if( aEvent.GetKeyCode() == WXK_BACK )
409  {
410  const long pos = m_filterCtrl->GetLastPosition();
411  m_filterCtrl->Remove( pos - 1, pos );
412  }
413  else
414  {
415  bool isPrintable;
416  int ch = aEvent.GetUnicodeKey();
417 
418  if( ch != WXK_NONE )
419  isPrintable = true;
420  else
421  {
422  ch = aEvent.GetKeyCode();
423  isPrintable = ch > WXK_SPACE && ch < WXK_START;
424  }
425 
426  if( isPrintable )
427  {
428  wxString text( static_cast<wxChar>( ch ) );
429 
430  // wxCHAR_HOOK chars have been converted to uppercase.
431  if( !aEvent.ShiftDown() )
432  text.MakeLower();
433 
434  m_filterCtrl->AppendText( text );
435  }
436  }
437  }

References m_filterCtrl.

Referenced by onKeyDown(), and OnStartingKey().

◆ GetAdjustedSize()

wxSize NET_SELECTOR_COMBOPOPUP::GetAdjustedSize ( int  aMinWidth,
int  aPrefHeight,
int  aMaxHeight 
)
inlineoverride

Definition at line 145 of file net_selector.cpp.

146  {
147  // Called when the popup is first shown. Stash the minWidth and maxHeight so we
148  // can use them later when refreshing the sizes after filter changes.
149  m_minPopupWidth = aMinWidth;
150  m_maxPopupHeight = aMaxHeight;
151 
152  return updateSize();
153  }

References m_maxPopupHeight, m_minPopupWidth, and updateSize().

◆ GetControl()

wxWindow* NET_SELECTOR_COMBOPOPUP::GetControl ( )
inlineoverride

Definition at line 102 of file net_selector.cpp.

102 { return this; }

◆ GetSelectedNetcode()

int NET_SELECTOR_COMBOPOPUP::GetSelectedNetcode ( )
inline

Definition at line 129 of file net_selector.cpp.

References m_selectedNetcode.

Referenced by NET_SELECTOR::GetSelectedNetcode().

◆ GetSelectedNetname()

wxString NET_SELECTOR_COMBOPOPUP::GetSelectedNetname ( )
inline

Definition at line 137 of file net_selector.cpp.

138  {
141  else
142  return wxEmptyString;
143  }
NETINFO_LIST * m_netinfoList
const wxString & GetNetname() const
Function GetNetname.
Definition: netinfo.h:235
NETINFO_ITEM * GetNetItem(int aNetCode) const
Function GetItem.

References NETINFO_LIST::GetNetItem(), NETINFO_ITEM::GetNetname(), m_netinfoList, and m_selectedNetcode.

Referenced by NET_SELECTOR::GetSelectedNetname().

◆ GetStringValue()

wxString NET_SELECTOR_COMBOPOPUP::GetStringValue ( ) const
inlineoverride

Definition at line 109 of file net_selector.cpp.

110  {
112 
113  if( netInfo && netInfo->GetNet() > 0 )
114  return netInfo->GetNetname();
115 
116  return NO_NET;
117  }
NETINFO_LIST * m_netinfoList
const wxString & GetNetname() const
Function GetNetname.
Definition: netinfo.h:235
#define NO_NET
Class NETINFO_ITEM handles the data for a net.
Definition: netinfo.h:65
int GetNet() const
Function GetNet.
Definition: netinfo.h:227
NETINFO_ITEM * GetNetItem(int aNetCode) const
Function GetItem.

References NETINFO_ITEM::GetNet(), NETINFO_LIST::GetNetItem(), NETINFO_ITEM::GetNetname(), m_netinfoList, m_selectedNetcode, and NO_NET.

Referenced by NET_SELECTOR::SetSelectedNet(), and NET_SELECTOR::SetSelectedNetcode().

◆ IsIndeterminate()

bool NET_SELECTOR_COMBOPOPUP::IsIndeterminate ( )
inline

Definition at line 126 of file net_selector.cpp.

126 { return m_selectedNetcode == -1; }

References m_selectedNetcode.

Referenced by NET_SELECTOR::IsIndeterminate().

◆ onEnter()

void NET_SELECTOR_COMBOPOPUP::onEnter ( wxCommandEvent &  aEvent)
inlineprotected

Definition at line 392 of file net_selector.cpp.

393  {
394  Accept();
395  }

References Accept().

Referenced by Create().

◆ onFilterEdit()

void NET_SELECTOR_COMBOPOPUP::onFilterEdit ( wxCommandEvent &  aEvent)
inlineprotected

Definition at line 397 of file net_selector.cpp.

398  {
399  rebuildList();
400  updateSize();
401 
402  if( m_listBox->GetCount() > 0 )
403  m_listBox->SetSelection( 0 );
404  }

References m_listBox, rebuildList(), and updateSize().

Referenced by Create().

◆ onIdle()

void NET_SELECTOR_COMBOPOPUP::onIdle ( wxIdleEvent &  aEvent)
inlineprotected

Definition at line 269 of file net_selector.cpp.

270  {
271  // Generate synthetic (but reliable) MouseMoved events
272  static wxPoint lastPos;
273  wxPoint screenPos = wxGetMousePosition();
274 
275  if( screenPos != lastPos )
276  {
277  lastPos = screenPos;
278  onMouseMoved( screenPos );
279  }
280 
281  if( m_focusHandler )
282  {
283  m_filterCtrl->PushEventHandler( m_focusHandler );
284  m_focusHandler = nullptr;
285  }
286  }
wxEvtHandler * m_focusHandler
void onMouseMoved(const wxPoint aScreenPos)

References m_filterCtrl, m_focusHandler, and onMouseMoved().

Referenced by Create().

◆ onKeyDown()

void NET_SELECTOR_COMBOPOPUP::onKeyDown ( wxKeyEvent &  aEvent)
inlineprotected

Definition at line 335 of file net_selector.cpp.

336  {
337  switch( aEvent.GetKeyCode() )
338  {
339  // Control keys go to the parent combobox
340  case WXK_TAB:
341  Dismiss();
342 
343  m_parent->NavigateIn( ( aEvent.ShiftDown() ? 0 : wxNavigationKeyEvent::IsForward ) |
344  ( aEvent.ControlDown() ? wxNavigationKeyEvent::WinChange : 0 ) );
345  break;
346 
347  case WXK_ESCAPE:
348  Dismiss();
349  break;
350 
351  case WXK_RETURN:
352  Accept();
353  break;
354 
355  // Arrows go to the list box
356  case WXK_DOWN:
357  case WXK_NUMPAD_DOWN:
359  m_listBox->SetSelection( std::min( m_listBox->GetSelection() + 1, (int) m_listBox->GetCount() - 1 ) );
360  break;
361 
362  case WXK_UP:
363  case WXK_NUMPAD_UP:
365  m_listBox->SetSelection( std::max( m_listBox->GetSelection() - 1, 0 ) );
366  break;
367 
368  // Everything else goes to the filter textbox
369  default:
370  if( !m_filterCtrl->HasFocus() )
371  {
373 
374  // Because we didn't have focus we missed our chance to have the native widget
375  // handle the keystroke. We'll have to do the first character ourselves.
376  doStartingKey( aEvent );
377  }
378  else
379  {
380  // On some platforms a wxComboFocusHandler will have been pushed which
381  // unhelpfully gives the event right back to the popup. Make sure the filter
382  // control is going to get the event.
383  if( m_filterCtrl->GetEventHandler() != m_filterCtrl )
384  m_focusHandler = m_filterCtrl->PopEventHandler();
385 
386  aEvent.Skip();
387  }
388  break;
389  }
390  }
wxEvtHandler * m_focusHandler
void doStartingKey(wxKeyEvent &aEvent)
#define max(a, b)
Definition: auxiliary.h:86
void doSetFocus(wxWindow *aWindow)
#define min(a, b)
Definition: auxiliary.h:85

References Accept(), doSetFocus(), doStartingKey(), m_filterCtrl, m_focusHandler, m_listBox, max, and min.

Referenced by Create().

◆ onMouseClick()

void NET_SELECTOR_COMBOPOPUP::onMouseClick ( wxMouseEvent &  aEvent)
inlineprotected

Definition at line 307 of file net_selector.cpp.

308  {
309  // Accept a click event from anywhere. Different platform implementations have
310  // different foibles with regard to transient popups and their children.
311 
312  if( aEvent.GetEventObject() == m_listBox )
313  {
314  m_listBox->SetSelection( m_listBox->HitTest( aEvent.GetPosition() ) );
315  Accept();
316  return;
317  }
318 
319  wxWindow* window = dynamic_cast<wxWindow*>( aEvent.GetEventObject() );
320 
321  if( window )
322  {
323  wxPoint screenPos = window->ClientToScreen( aEvent.GetPosition() );
324 
325  if( m_listBox->GetScreenRect().Contains( screenPos ) )
326  {
327  wxPoint localPos = m_listBox->ScreenToClient( screenPos );
328 
329  m_listBox->SetSelection( m_listBox->HitTest( localPos ) );
330  Accept();
331  }
332  }
333  }

References Accept(), and m_listBox.

Referenced by Create().

◆ onMouseMoved()

void NET_SELECTOR_COMBOPOPUP::onMouseMoved ( const wxPoint  aScreenPos)
inlineprotected

Definition at line 289 of file net_selector.cpp.

290  {
291  if( m_listBox->GetScreenRect().Contains( aScreenPos ) )
292  {
294 
295  wxPoint relativePos = m_listBox->ScreenToClient( aScreenPos );
296  int item = m_listBox->HitTest( relativePos );
297 
298  if( item >= 0 )
299  m_listBox->SetSelection( item );
300  }
301  else if( m_filterCtrl->GetScreenRect().Contains( aScreenPos ) )
302  {
304  }
305  }
void doSetFocus(wxWindow *aWindow)

References doSetFocus(), m_filterCtrl, and m_listBox.

Referenced by onIdle().

◆ OnPopup()

void NET_SELECTOR_COMBOPOPUP::OnPopup ( )
inlineoverride

Definition at line 155 of file net_selector.cpp.

156  {
157  // While it can sometimes be useful to keep the filter, it's always expected.
158  // Better to clear it.
159  m_filterCtrl->Clear();
160 
161  // The updateSize() call in GetAdjustedSize() leaves the height off-by-one for
162  // some reason, so do it again.
163  updateSize();
164  }

References m_filterCtrl, and updateSize().

◆ OnStartingKey()

void NET_SELECTOR_COMBOPOPUP::OnStartingKey ( wxKeyEvent &  aEvent)
inline

Definition at line 166 of file net_selector.cpp.

167  {
169  doStartingKey( aEvent );
170  }
void doStartingKey(wxKeyEvent &aEvent)
void doSetFocus(wxWindow *aWindow)

References doSetFocus(), doStartingKey(), and m_filterCtrl.

Referenced by NET_SELECTOR::onKeyDown().

◆ rebuildList()

void NET_SELECTOR_COMBOPOPUP::rebuildList ( )
inlineprotected

Definition at line 242 of file net_selector.cpp.

243  {
244  wxArrayString netNames;
245  wxString filter = m_filterCtrl->GetValue().MakeLower();
246 
247  if( !filter.IsEmpty() )
248  filter = wxT( "*" ) + filter + wxT( "*" );
249 
250  for( NETINFO_ITEM* netinfo : *m_netinfoList )
251  {
252  if( netinfo->GetNet() > 0 && netinfo->IsCurrent() )
253  {
254  wxString netname = UnescapeString( netinfo->GetNetname() );
255 
256  if( filter.IsEmpty() || wxString( netname ).MakeLower().Matches( filter ) )
257  netNames.push_back( netname );
258  }
259  }
260  std::sort( netNames.begin(), netNames.end() );
261 
262  // Special handling for <no net>
263  if( filter.IsEmpty() || wxString( NO_NET ).MakeLower().Matches( filter ) )
264  netNames.insert( netNames.begin(), NO_NET );
265 
266  m_listBox->Set( netNames );
267  }
NETINFO_LIST * m_netinfoList
#define NO_NET
Class NETINFO_ITEM handles the data for a net.
Definition: netinfo.h:65
wxString UnescapeString(const wxString &aSource)
Definition: string.cpp:123

References m_filterCtrl, m_listBox, m_netinfoList, NO_NET, and UnescapeString().

Referenced by onFilterEdit(), and SetNetInfo().

◆ SetIndeterminate()

void NET_SELECTOR_COMBOPOPUP::SetIndeterminate ( )
inline

Definition at line 125 of file net_selector.cpp.

References m_selectedNetcode.

Referenced by NET_SELECTOR::SetIndeterminate().

◆ SetNetInfo()

void NET_SELECTOR_COMBOPOPUP::SetNetInfo ( NETINFO_LIST aNetInfoList)
inline

Definition at line 119 of file net_selector.cpp.

120  {
121  m_netinfoList = aNetInfoList;
122  rebuildList();
123  }
NETINFO_LIST * m_netinfoList

References m_netinfoList, and rebuildList().

Referenced by NET_SELECTOR::SetNetInfo().

◆ SetSelectedNet()

void NET_SELECTOR_COMBOPOPUP::SetSelectedNet ( const wxString &  aNetname)
inline

Definition at line 131 of file net_selector.cpp.

132  {
133  if( m_netinfoList && m_netinfoList->GetNetItem( aNetname ) )
135  }
NETINFO_LIST * m_netinfoList
int GetNet() const
Function GetNet.
Definition: netinfo.h:227
NETINFO_ITEM * GetNetItem(int aNetCode) const
Function GetItem.

References NETINFO_ITEM::GetNet(), NETINFO_LIST::GetNetItem(), m_netinfoList, and m_selectedNetcode.

Referenced by NET_SELECTOR::SetSelectedNet().

◆ SetSelectedNetcode()

void NET_SELECTOR_COMBOPOPUP::SetSelectedNetcode ( int  aNetcode)
inline

Definition at line 128 of file net_selector.cpp.

128 { m_selectedNetcode = aNetcode; }

References m_selectedNetcode.

Referenced by NET_SELECTOR::SetSelectedNetcode().

◆ SetStringValue()

void NET_SELECTOR_COMBOPOPUP::SetStringValue ( const wxString &  aNetName)
inlineoverride

Definition at line 104 of file net_selector.cpp.

105  {
106  // shouldn't be here (combo is read-only)
107  }

◆ updateSize()

wxSize NET_SELECTOR_COMBOPOPUP::updateSize ( )
inlineprotected

Definition at line 213 of file net_selector.cpp.

214  {
215  int listTop = m_listBox->GetRect().y;
216  int itemHeight = GetTextSize( wxT( "Xy" ), this ).y + LIST_ITEM_PADDING;
217  int listHeight = m_listBox->GetCount() * itemHeight + LIST_PADDING;
218 
219  if( listTop + listHeight >= m_maxPopupHeight )
220  listHeight = m_maxPopupHeight - listTop - 1;
221 
222  int listWidth = m_minPopupWidth;
223 
224  for( size_t i = 0; i < m_listBox->GetCount(); ++i )
225  {
226  int itemWidth = GetTextSize( m_listBox->GetString( i ), m_listBox ).x;
227  listWidth = std::max( listWidth, itemWidth + LIST_PADDING * 3 );
228  }
229 
230  wxSize listSize( listWidth, listHeight );
231  wxSize popupSize( listWidth, listTop + listHeight );
232 
233  SetSize( popupSize ); // us
234  GetParent()->SetSize( popupSize ); // the window that wxComboCtrl put us in
235 
236  m_listBox->SetMinSize( listSize );
237  m_listBox->SetSize( listSize );
238 
239  return popupSize;
240  }
wxSize GetTextSize(const wxString &aSingleLine, wxWindow *aWindow)
Return the size of aSingleLine of text when it is rendered in aWindow using whatever font is currentl...
Definition: common.cpp:115
#define LIST_ITEM_PADDING
#define max(a, b)
Definition: auxiliary.h:86
size_t i
Definition: json11.cpp:597
#define LIST_PADDING

References GetTextSize(), i, LIST_ITEM_PADDING, LIST_PADDING, m_listBox, m_maxPopupHeight, m_minPopupWidth, and max.

Referenced by GetAdjustedSize(), onFilterEdit(), and OnPopup().

Member Data Documentation

◆ m_filterCtrl

wxTextCtrl* NET_SELECTOR_COMBOPOPUP::m_filterCtrl
protected

◆ m_filterValidator

wxTextValidator* NET_SELECTOR_COMBOPOPUP::m_filterValidator
protected

Definition at line 449 of file net_selector.cpp.

Referenced by Create().

◆ m_focusHandler

wxEvtHandler* NET_SELECTOR_COMBOPOPUP::m_focusHandler
protected

Definition at line 459 of file net_selector.cpp.

Referenced by onIdle(), and onKeyDown().

◆ m_listBox

wxListBox* NET_SELECTOR_COMBOPOPUP::m_listBox
protected

◆ m_maxPopupHeight

int NET_SELECTOR_COMBOPOPUP::m_maxPopupHeight
protected

Definition at line 453 of file net_selector.cpp.

Referenced by GetAdjustedSize(), and updateSize().

◆ m_minPopupWidth

int NET_SELECTOR_COMBOPOPUP::m_minPopupWidth
protected

Definition at line 452 of file net_selector.cpp.

Referenced by GetAdjustedSize(), and updateSize().

◆ m_netinfoList

NETINFO_LIST* NET_SELECTOR_COMBOPOPUP::m_netinfoList
protected

◆ m_selectedNetcode

int NET_SELECTOR_COMBOPOPUP::m_selectedNetcode
protected

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