[M-git] Mahogany sources repository. branch master updated. v0.67-824-g743dd9ef

vadz via Mahogany-cvsupdates <[email protected]> Tue, 22 Nov 2022 15:01:28 +0000
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Mahogany sources repository.".

The branch, master has been updated
       via  743dd9ef9acf2ea0b0ab5a09bf450e2aad648820 (commit)
      from  8468e43f216872b1390a6a1962fdf19c58a9e0fd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 743dd9ef9acf2ea0b0ab5a09bf450e2aad648820
Author: Vadim Zeitlin <[email protected]>
Date:   Tue Nov 22 15:00:50 2022 +0000

    Compilation fix for non-MSW after the last commit
    
    Define wxPaintDC object everywhere, not just under MSW, as it's actually
    used now, since the changes of the last commit.

diff --git a/src/gui/wxlwindow.cpp b/src/gui/wxlwindow.cpp
index 0df80c74..3d23c80a 100644
--- a/src/gui/wxlwindow.cpp
+++ b/src/gui/wxlwindow.cpp
@@ -900,10 +900,7 @@ wxLayoutWindow::ScrollToCursor(void)
 void
 wxLayoutWindow::OnPaint( wxPaintEvent &WXUNUSED(event))
 {
-#ifdef __WXMSW__
-   // must create it under Windows
    wxPaintDC dc(this);
-#endif
 
    PrepareDC( dc );
 

-----------------------------------------------------------------------

Summary of changes:
 src/gui/wxlwindow.cpp | 3 ---
 1 file changed, 3 deletions(-)


hooks/post-receive
-- 
Mahogany sources repository.