Remove all the capabilities at the Widget main classes

This commit is contained in:
Edouard Dupin 2012-02-18 22:20:53 +01:00
parent 0a11251ccc
commit f716055c40
2 changed files with 2 additions and 5 deletions

View File

@ -70,9 +70,6 @@ CodeView::CodeView(void)
m_textColorBg.alpha = 0.25;
SetCanHaveFocus(true);
ewol::widgetMessageMultiCast::Add(GetWidgetId(), ednMsgBufferId);
GenericDrawDisable();
SpecificDrawEnable();
}
CodeView::~CodeView(void)

View File

@ -174,7 +174,7 @@ bool MainWindows::OnEventAreaExternal(int32_t widgetID, const char * generateEve
}
} else if (generateEventId == ednEventPopUpFileSelected) {
// get widget:
ewol::FileChooser * tmpWidget = (ewol::FileChooser*)ewol::widgetManager::Get(widgetID);
ewol::FileChooser * tmpWidget = reinterpret_cast<ewol::FileChooser*>(ewol::widgetManager::Get(widgetID));
if (NULL == tmpWidget) {
EDN_ERROR("impossible to get pop_upWidget " << widgetID);
return false;
@ -219,7 +219,7 @@ bool MainWindows::OnEventAreaExternal(int32_t widgetID, const char * generateEve
}
} else if (generateEventId == ednEventPopUpFileSaveAs) {
// get widget:
ewol::FileChooser * tmpWidget = (ewol::FileChooser*)ewol::widgetManager::Get(widgetID);
ewol::FileChooser * tmpWidget = reinterpret_cast<ewol::FileChooser*>(ewol::widgetManager::Get(widgetID));
if (NULL == tmpWidget) {
EDN_ERROR("impossible to get pop_upWidget " << widgetID);
return false;