git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21785
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Accept files for dragging
virtual void DragAcceptFiles(bool accept);
// Accept files for dragging
virtual void DragAcceptFiles(bool accept);
+#if WXWIN_COMPATIBILITY_2_4
+ wxDEPRECATED( bool GetUseCtl3D() const );
+ wxDEPRECATED( bool GetTransparentBackground() const );
+ wxDEPRECATED( void SetTransparent(bool t = TRUE) );
+#endif // WXWIN_COMPATIBILITY_2_4
+
#if WXWIN_COMPATIBILITY
// Set/get scroll attributes
virtual void SetScrollRange(int orient, int range, bool refresh = TRUE);
#if WXWIN_COMPATIBILITY
// Set/get scroll attributes
virtual void SetScrollRange(int orient, int range, bool refresh = TRUE);
void SetHWND(WXHWND hWnd) { m_hWnd = hWnd; }
virtual WXWidget GetHandle() const { return GetHWND(); }
void SetHWND(WXHWND hWnd) { m_hWnd = hWnd; }
virtual WXWidget GetHandle() const { return GetHWND(); }
- bool GetUseCtl3D() const { return m_useCtl3D; }
- bool GetTransparentBackground() const { return m_backgroundTransparent; }
- void SetTransparent(bool t = TRUE) { m_backgroundTransparent = t; }
-
// event handlers
// --------------
// event handlers
// --------------
WXFARPROC m_oldWndProc;
// additional (MSW specific) flags
WXFARPROC m_oldWndProc;
// additional (MSW specific) flags
- bool m_useCtl3D:1; // Using CTL3D for this control
- bool m_backgroundTransparent:1;
bool m_mouseInWindow:1;
bool m_lastKeydownProcessed:1;
bool m_mouseInWindow:1;
bool m_lastKeydownProcessed:1;
+// ----------------------------------------------------------------------------
+// inline functions
+// ----------------------------------------------------------------------------
+
+#if WXWIN_COMPATIBILITY_2_4
+
+inline bool wxWindowMSW::GetUseCtl3D() const { return false; }
+inline bool wxWindowMSW::GetTransparentBackground() const { return false; }
+inline void wxWindowMSW::SetTransparent(bool WXUNUSED(t)) { }
+
+#endif // WXWIN_COMPATIBILITY_2_4
+
// ---------------------------------------------------------------------------
// global functions
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// global functions
// ---------------------------------------------------------------------------
wxInetCacheNode *n2;
m_Cache.BeginFind();
wxInetCacheNode *n2;
m_Cache.BeginFind();
- while ((n = m_Cache.Next()))
+ while ((n = m_Cache.Next()) != 0)
{
n2 = (wxInetCacheNode*) n->GetData();
wxRemoveFile(n2->GetTemp());
{
n2 = (wxInetCacheNode*) n->GetData();
wxRemoveFile(n2->GetTemp());