mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Automatic setting size hints in all choice controls in ShuttleGui...
... excpet in a few places that populate the choice control late and then do it explicitly
This commit is contained in:
@@ -288,6 +288,12 @@ protected:
|
||||
|
||||
long Style( long Style );
|
||||
|
||||
private:
|
||||
void SetSizeHints( const wxArrayString & items );
|
||||
public:
|
||||
static void SetSizeHints( wxWindow *window, const wxArrayString & items );
|
||||
|
||||
protected:
|
||||
wxWindow * mpLastWind;
|
||||
wxWindow * mpDlg;
|
||||
wxSizer * pSizerStack[ nMaxNestedSizers ];
|
||||
@@ -389,12 +395,6 @@ public:
|
||||
wxSizerItem * AddSpace( int width, int height );
|
||||
wxSizerItem * AddSpace( int size ) { return AddSpace( size, size ); };
|
||||
|
||||
void SetSizeHints( int minX = -1, int minY = -1 );
|
||||
void SetSizeHints( const wxArrayString & items );
|
||||
void SetSizeHints( const std::vector<int> & items );
|
||||
static void SetSizeHints( wxWindow *window, const wxArrayString & items );
|
||||
static void SetSizeHints( wxWindow *window, const std::vector<int> & items );
|
||||
|
||||
teShuttleMode GetMode() { return mShuttleMode; };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user