Обсуждение: PGSchemaObject (PGA3)

Поиск
Список
Период
Сортировка

PGSchemaObject (PGA3)

От
efesar
Дата:
It looks like there should be a function in PGSchemaObject or PGObject
called SetButtons, but it's not there. I did a full update and didn't get
anything. Cleaned, rebuilt all ...

Is something missing in CVS?

In the older Schema files, the function is this:

void pgLanguage::ShowTreeDetail(wxTreeCtrl *browser, frmMain *form,
wxListCtrl *properties, wxListCtrl *statistics, ctlSQLBox *sqlPane)
{
    if (form)
        form->SetButtons(true, true, true, true, false, false, false);
...
}

and in the new ones is this:

void pgOperator::ShowTreeDetail(wxTreeCtrl *browser, frmMain *form,
wxListCtrl *properties, wxListCtrl *statistics, ctlSQLBox *sqlPane)
{
    SetButtons(form);
---
}

compile errors:

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgcheck.cpp(57) : error C2065:
'SetButtons' : undeclared identifier

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgconversion.cpp(50) : error C2065:
'SetButtons' : undeclared identifier

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgdomain.cpp(71) : error C2065:
'SetButtons' : undeclared identifier

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgforeignkey.cpp(79) : error C2065:
'SetButtons' : undeclared identifier

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgindex.cpp(78) : error C2065:
'SetButtons' : undeclared identifier

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgoperator.cpp(64) : error C2065:
'SetButtons' : undeclared identifier

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgoperatorclass.cpp(45) : error
C2065: 'SetButtons' : undeclared identifier

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgrule.cpp(45) : error C2065:
'SetButtons' : undeclared identifier

c:\documents and settings\kay\my
documents\projects\pgadmin3\src\schema\pgsequence.cpp(81) : error C2065:
'SetButtons' : undeclared identifier

-Keith


Re: PGSchemaObject (PGA3)

От
Andreas Pflug
Дата:
efesar wrote:

>It looks like there should be a function in PGSchemaObject or PGObject
>called SetButtons, but it's not there. I did a full update and didn't get
>anything. Cleaned, rebuilt all ...
>
>Is something missing in CVS?
>
>
>
Sorry for inconvenience,

I'm right in the middle of the "refresh current instead of below
selection" coding, those modules emitting errors aren't completed.

pgSchemaObject::SetButtons() is replaced by intelligent action in
pgObject::ShowTree(), to compile for now simply remove the line.

The rest will come soon.

Regards,
Andreas


Re: PGSchemaObject (PGA3)

От
Andreas Pflug
Дата:
Andreas Pflug wrote:

> efesar wrote:
>
>> It looks like there should be a function in PGSchemaObject or PGObject
>> called SetButtons, but it's not there. I did a full update and didn't
>> get
>> anything. Cleaned, rebuilt all ...
>>
>> Is something missing in CVS?
>>
>>
>>
Latest changes committed, refresh implementation completed.