@@ -61,7 +61,7 @@ class NCMenuLine : public NCTableLine
6161 if (separator)
6262 {
6363 // Append( new NCTableCol( "", NCTableCol::SEPARATOR ) );
64- SetState ( S_DISABELED );
64+ SetState ( S_DISABLED );
6565 }
6666 else
6767 {
@@ -76,7 +76,7 @@ class NCMenuLine : public NCTableLine
7676 else if ( !mi->enabled () )
7777 {
7878 yuiDebug () << mi->label () << " disabled" << std::endl;
79- SetState ( S_DISABELED );
79+ SetState ( S_DISABLED );
8080 }
8181 else
8282 {
@@ -125,9 +125,9 @@ class NCMenuLine : public NCTableLine
125125 yuiDebug () << yitem->label () << " hotcol: " << l.hotpos () << " hotkey: " << l.hotkey () << std::endl;
126126
127127 if ( !isSpecial () )
128- w.bkgdset ( tableStyle.hotBG ( vstate , NCTableCol::PLAIN ) );
128+ w.bkgdset ( tableStyle.hotBG ( _vstate , NCTableCol::PLAIN ) );
129129
130- yuiDebug () << " tableStyle hotcol: " << tableStyle.listStyle ().title << " bg: " << tableStyle.hotBG (vstate , tableStyle.HotCol ()) << std::endl;
130+ yuiDebug () << " tableStyle hotcol: " << tableStyle.listStyle ().title << " bg: " << tableStyle.hotBG (_vstate , tableStyle.HotCol ()) << std::endl;
131131
132132
133133 NCTableLine::DrawAt ( w, at, tableStyle, active );
@@ -227,7 +227,7 @@ YMenuItem * NCMenu::getCurrentItem() const
227227 {
228228 const NCMenuLine * cline = dynamic_cast <const NCMenuLine *>( myPad ()->GetCurrentLine () );
229229
230- if ( cline && cline->isEnabeled ())
230+ if ( cline && cline->isEnabled ())
231231 yitem = cline->YItem ();
232232 }
233233
0 commit comments