correct access for virtual, declare variable only if used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -355,6 +355,7 @@ public:
|
||||
#if USES_WXPOPUPTRANSIENTWINDOW
|
||||
virtual bool Show( bool show );
|
||||
virtual bool ProcessLeftDown(wxMouseEvent& event);
|
||||
protected:
|
||||
virtual void OnDismiss();
|
||||
#endif
|
||||
|
||||
@@ -1003,9 +1004,10 @@ void wxComboCtrlBase::PositionTextCtrl( int textCtrlXAdjust, int textCtrlYAdjust
|
||||
if ( !m_text )
|
||||
return;
|
||||
|
||||
#if !TEXTCTRL_TEXT_CENTERED
|
||||
|
||||
wxSize sz = GetClientSize();
|
||||
|
||||
#if !TEXTCTRL_TEXT_CENTERED
|
||||
int customBorder = m_widthCustomBorder;
|
||||
if ( (m_text->GetWindowStyleFlag() & wxBORDER_MASK) == wxNO_BORDER )
|
||||
{
|
||||
|
Reference in New Issue
Block a user