pgAdmin III commit: Fix wxWidgets 2.9 compatibility with pgAdmin on Lin

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix wxWidgets 2.9 compatibility with pgAdmin on Lin
Date: 2012-03-02 09:13:02
Message-ID: E1S3OXu-0006Bd-6p@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fix wxWidgets 2.9 compatibility with pgAdmin on Linux

We had an issue with a global variable with a constructor (see
http://www.wxwidgets.org/develop/standard.htm#no_globals for details).

We had a wxFont instance as global or static variable in the code
(hdFontAttribute.h). The patch fixes that.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=0639eebe05ad1f7b1e07a8b28f7650799d093734
Author: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>

Modified Files
--------------
CHANGELOG | 2 ++
.../dd/dditems/handles/ddSouthTableSizeHandle.cpp | 2 +-
.../figures/defaultAttributes/hdFontAttribute.cpp | 11 ++++++++---
pgadmin/hotdraw/figures/hdSimpleTextFigure.cpp | 2 +-
pgadmin/hotdraw/main/hdDrawingEditor.cpp | 2 +-
pgadmin/hotdraw/main/hdDrawingView.cpp | 4 ++--
.../figures/defaultAttributes/hdFontAttribute.h | 3 ++-
pgadmin/pgAdmin3.cpp | 2 ++
8 files changed, 19 insertions(+), 9 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Alexander LAW 2012-03-02 12:30:13 Re: Pgadmin Website Translation to Russian
Previous Message Guillaume Lelarge 2012-03-02 09:08:08 Re: Fixed pgAdmin3 issues/asserts