C++ import errors (and other)
Phillip Mills <[email protected]> Wed, 22 Jun 2005 14:59:20 -0400
| Newsgroups | gmane.linux.umbrello.user |
|---|---|
| Message-ID | <[email protected]> |
I now have Umbrello 1.4.1 running with KDE 3.4.1 on a Macintosh by using 'fink' and X11. Sometimes when I import C++ .h files, Umbrello thinks that some operations are actually attributes. To make this more difficult, I seldom see the problem when importing just one file, but as part of a multi-file import. Often the mishandled items are copy constructors and operator=() declarations, but that might be a positional thing rather than syntax. I haven't isolated a simple example that always shows the full problem, but I'm attaching a file (requires wxWidgets) that imports with a constructor identified as an attribute. I am also having problems setting an active language. I get the messages: "Could not find active language. Please select one of the installed languages to generate the code with." ...and... "Could not find a code generator." I don't know what Umbrello means by 'installed' in this context (nor where it's looking for the generator). ........................ Phillip Mills Multi-platform software development (416) 224-0714
PreservedBGText.h
(text/plain, 668 B)
#if !defined(__PRESERVEDBGTEXT__)
#define __PRESERVEDBGTEXT__ 1
#include <wx/wx.h>
class PreservedBGText : public wxStaticText {
private:
DECLARE_EVENT_TABLE()
public:
PreservedBGText(wxWindow *parent,
wxWindowID id,
const wxString& label,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString &name = wxStaticTextNameStr);
void OnErase(wxEraseEvent& event);
virtual bool HasTransparentBackground() { return TRUE; }
virtual bool DoDrawBackground(wxDC& dc);
};
#endif