No changes, just refactor wxMSW wxComboBox code calling GetComboBoxInfo().
Move the code dynamically loading this function to the base wxChoice class to make it possible to use it from there in the upcoming commit. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#ifndef _WX_CHOICE_H_
|
||||
#define _WX_CHOICE_H_
|
||||
|
||||
struct tagCOMBOBOXINFO;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Choice item
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -136,6 +138,10 @@ protected:
|
||||
// set the height of the visible part of the control to m_heightOwn
|
||||
void MSWUpdateVisibleHeight();
|
||||
|
||||
// Call GetComboBoxInfo() and return false if it's not supported by this
|
||||
// system. Notice that the caller must initialize info.cbSize.
|
||||
bool MSWGetComboBoxInfo(tagCOMBOBOXINFO* info) const;
|
||||
|
||||
// create and initialize the control
|
||||
bool CreateAndInit(wxWindow *parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
|
Reference in New Issue
Block a user