]> git.saurik.com Git - wxWidgets.git/commitdiff
Warning fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 19 Jul 2006 15:52:28 +0000 (15:52 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 19 Jul 2006 15:52:28 +0000 (15:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/aui/framemanager.h
src/aui/framemanager.cpp

index b77df0929de6ce06eee5df032b5301d7f47b03f9..a0a78ef8f0c0ed46168bc64c3370a8899f18741d 100644 (file)
@@ -539,7 +539,7 @@ protected:
 
     wxFrame* m_hint_wnd;         // transparent hint window, if supported by platform
     wxTimer m_hint_fadetimer;    // transparent fade timer
-    int m_hint_fadeamt;          // transparent fade amount
+    wxByte m_hint_fadeamt;       // transparent fade amount
 
 #ifndef SWIG
     DECLARE_EVENT_TABLE()
index 945d2d8c35863e5f63a11034c7cbd2a401fdd8e0..2ef35747ddb600f904d456cca8572f15f2445cac 100644 (file)
@@ -2479,7 +2479,7 @@ void wxFrameManager::ShowHint(const wxRect& rect)
             return;
         m_last_hint = rect;
 
-        int initial_fade = 50;
+        wxByte initial_fade = 50;
         if (m_flags & wxAUI_MGR_TRANSPARENT_HINT_FADE)
             initial_fade = 0;