Auria wrote:Check the docs for this control - not all controls have the same constructor.
(I think this add-on has no doc - in this case just look at the header. I found it here with google :
http://hiasm.com/svn/elements/wxMSW/ext ... larMeter.h )
Code: Select all
kwxAngularMeter(wxWindow *parent,
const wxWindowID id = -1,
const wxString& label = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const long int style = 0);
I correct that whit
Code: Select all
Brujula = new kwxAngularMeter(this,ID_ANGULARMETER1,wxEmptyString,wxPoint(228,248),wxSize(150,150),0);
But now the problem are
Code: Select all
undefined reference to `kwxAngularMeter::kwxAngularMeter(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)'|
undefined reference to `kwxAngularMeter::SetSectorColor(int, wxColour)'|
undefined reference to `kwxAngularMeter::SetSectorColor(int, wxColour)'|
undefined reference to `kwxAngularMeter::SetSectorColor(int, wxColour)'|
undefined reference to `kwxAngularMeter::SetValue(int)'|
undefined reference to `kwxAngularMeter::kwxAngularMeter(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)'|
undefined reference to `kwxAngularMeter::SetSectorColor(int, wxColour)'|
undefined reference to `kwxAngularMeter::SetSectorColor(int, wxColour)'|
undefined reference to `kwxAngularMeter::SetSectorColor(int, wxColour)'|
undefined reference to `kwxAngularMeter::SetValue(int)'|
||=== Build finished: 10 errors, 0 warnings ===|
Now I change the
#include "KWIC/AngularMeter.h" (in example)
for
#include "KWIC/AngularMeter.cpp"
but i has new problem
Code: Select all
error: no matching function for call to ‘wxString::Printf(const char [3], int&)’|
someone has used these libraries?
I see in this page
http://wiki.codeblocks.org/index.php?ti ... sions_list that I can integrate to wxSmith, If somebody can explained how to do work the plugin