m_noRowsOrCols = majorDim;
if (majorDim==0)
m_majorDim = n ;
- m_majorDim = majorDim ;
+ else // Seemed to make sense to put this 'else' here... (RD)
+ m_majorDim = majorDim ;
long msStyle = GROUP_FLAGS;
wxRadioBox::~wxRadioBox(void)
{
m_isBeingDeleted = TRUE;
-
+
if (m_radioButtons)
{
int i;
void wxRadioBox::Enable(bool enable)
{
wxControl::Enable(enable);
-
+
int i;
for (i = 0; i < m_noItems; i++)
::EnableWindow((HWND) m_radioButtons[i], enable);
if (font)
{
font->RealizeResource();
-
+
if (font->GetResourceHandle())
SendMessage(hWnd, WM_SETFONT,
(WPARAM)font->GetResourceHandle(),TRUE);