Fixes for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -693,8 +693,10 @@ bool wxComboCtrl::AnimateShow( const wxRect& rect, int flags )
|
||||
|
||||
wxCoord wxComboCtrl::GetNativeTextIndent() const
|
||||
{
|
||||
#if wxUSE_UXTHEME
|
||||
if ( wxUxThemeEngine::GetIfActive() )
|
||||
return NATIVE_TEXT_INDENT_XP;
|
||||
#endif
|
||||
return NATIVE_TEXT_INDENT_CLASSIC;
|
||||
}
|
||||
|
||||
@@ -721,8 +723,11 @@ bool wxComboCtrl::IsKeyPopupToggle(const wxKeyEvent& event) const
|
||||
// popup but Alt-arrow does
|
||||
if ( event.AltDown() ||
|
||||
( !isPopupShown &&
|
||||
HasFlag(wxCB_READONLY) &&
|
||||
HasFlag(wxCB_READONLY)
|
||||
#if wxUSE_UXTHEME
|
||||
&&
|
||||
!wxUxThemeEngine::GetIfActive()
|
||||
#endif
|
||||
) )
|
||||
{
|
||||
return true;
|
||||
|
@@ -1430,7 +1430,7 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
|
||||
wxBorder wxWindowMSW::GetThemedBorderStyle() const
|
||||
{
|
||||
#if defined(__POCKETPC__) || defined(__SMARTPHONE__)
|
||||
return wxBORDER_SIMPLE
|
||||
return wxBORDER_SIMPLE;
|
||||
#elif wxUSE_UXTHEME
|
||||
if (wxUxThemeEngine::GetIfActive())
|
||||
return wxBORDER_THEME;
|
||||
|
Reference in New Issue
Block a user