]> git.saurik.com Git - wxWidgets.git/commitdiff
Place m_lastDoubleClick initialization inside existing #if wxUSE_CLIPBOARD
authorDavid Elliott <dfe@tgwbd.org>
Sat, 7 Jun 2003 02:20:20 +0000 (02:20 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sat, 7 Jun 2003 02:20:20 +0000 (02:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlwin.cpp

index 509dc190c8f56077bf22e76134c7e7ae20e61e09..c025b66edb85c22dac9fc2033aec52745f9989e2 100644 (file)
@@ -174,9 +174,9 @@ void wxHtmlWindow::Init()
     m_makingSelection = false;
 #if wxUSE_CLIPBOARD
     m_timerAutoScroll = NULL;
+    m_lastDoubleClick = 0;
 #endif
     m_backBuffer = NULL;
-    m_lastDoubleClick = 0;
 }
 
 bool wxHtmlWindow::Create(wxWindow *parent, wxWindowID id,