Re: Build failure on OSX 10.3 with wx 2.8.0 - Mailing list pgadmin-hackers

From Florian G. Pflug
Subject Re: Build failure on OSX 10.3 with wx 2.8.0
Date
Msg-id 45965539.3050707@phlo.org
Whole thread Raw
In response to Re: Build failure on OSX 10.3 with wx 2.8.0  (Dave Page <dpage@postgresql.org>)
Responses Re: Build failure on OSX 10.3 with wx 2.8.0  (Dave Page <dpage@postgresql.org>)
List pgadmin-hackers
Dave Page wrote:
> Florian G. Pflug wrote:
>> My night build on osx 10.3.9 with wx widgest 2.8 fails with
>> agent/pgaJob.cpp:303: error: `Refresh' undeclared (first use this
>> function)
>> agent/pgaJob.cpp:303: error: (Each undeclared identifier is reported
>> only once
>>
>> Does anyone know a plausible cause for this, or shall I go
>> investigating?
>
> Can you try adding:
>
> #include <frm/frmMain.h>
>
> to the top of that file and see if that helps? (I think thats the right
> path, if not, adjust accordingly)

Thanks - that helped. Here is the diff in case that it's important where
the include is added.

--- pgadmin/agent/pgaJob.cpp    (revision 5818)
+++ pgadmin/agent/pgaJob.cpp    (working copy)
@@ -15,6 +15,7 @@
  // App headers
  #include "pgAdmin3.h"
  #include "utils/misc.h"
+#include "frm/frmMain.h"
  #include "schema/pgObject.h"
  #include "schema/pgCollection.h"
  #include "schema/pgDatabase.h"

greetings, Florian Pflug

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Build failure on OSX 10.3 with wx 2.8.0
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r5819 - trunk/pgadmin3/pgadmin/agent