Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XE5 instalation on XE7 problem with hpp and TTBPopupPositionRec #4

Open
eimix opened this issue May 28, 2015 · 0 comments
Open

XE5 instalation on XE7 problem with hpp and TTBPopupPositionRec #4

eimix opened this issue May 28, 2015 · 0 comments

Comments

@eimix
Copy link

eimix commented May 28, 2015

TB2Item.HPP is generated, after patching it has stuct TTBPopupPositionRec.
But C++ compiler complains:
**
[bcc32 Error] TB2Item.hpp(157): E2019 'TTBPopupPositionRec:: :: :: ()' cannot be declared in an anonymous union
TB2Item.hpp(135): class TTBPopupPositionRec::
**
Here it is generated struct:

struct DECLSPEC_DRECORD TTBPopupPositionRec
{
    union
    {
        struct 
        {
            bool HorzHideSeparators;
            int HorzWrapOffset;
            TTBOrientation PopupOrientation;
        };
        struct 
        {
            bool PositionAsSubmenu;
            TTBPopupAlignment Alignment;
            bool Opposite;
            System::Types::TRect MonitorRect;
            System::Types::TRect ParentItemRect;
            int NCSizeX;
            int NCSizeY;
            int X;
            int Y;
            int W;
            int H;
            Tb2anim::TTBAnimationDirection AnimDir;
            bool PlaySound;
        };

    };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant