Menu

SVN archive Commit Log


Commit Date  
[r26554] by bugman

Another large wx ID saving change.

The ID associated with the special accelerator table that allows the ESC button to close relax
wizards is now initialised once in the module namespace, and not each time a wizard is created.

2014-11-12 17:30:47 Tree
[r26553] by bugman

Shifted all of the wx.NewId() calls for the new analysis wizard into the module namespace.

This will hugely save the number of wx IDs used by the GUI, especially in the test suite. Instead
of grabbing 8 IDs from the small pool every time the new analysis wizard is created, only 8 IDs for
the lifetime of the program will be used.

2014-11-12 17:19:09 Tree
[r26552] by bugman

Shifted the spin viewer GUI window toolbar button wx IDs to the module namespace.

This should conserve wx IDs as the window is created and destroyed, as only 2 IDs will be taken from
the small pool for the entire lifetime of the program.

2014-11-12 17:14:37 Tree
[r26551] by bugman

Menus created by the gui.components.menu.build_menu_item() now default to the wx ID of -1.

This is to conserve wx IDs. If the calling code does not provide the ID, there is no need to grab
one from the small pool of IDs.

2014-11-12 17:11:28 Tree
[r26550] by bugman

Shifted the relax controller window popup menu wx IDs to the module namespace.

This is simply to better organise the code to match the other GUI module changes.

2014-11-12 17:01:11 Tree
[r26549] by bugman

Shifted the main GUI window toolbar button wx IDs to the module namespace.

This has no effect apart from better organising the code.

2014-11-12 16:58:30 Tree
[r26548] by bugman

Converted all of the GUI wizard button IDs to -1, as they are currently unused.

This should conserve wx IDs, especially in the test suite.

2014-11-12 16:54:31 Tree
[r26547] by bugman

More shifting of wx.NewId() calls for popup menus to module namespaces to conserve IDs.

2014-11-12 16:49:29 Tree
[r26546] by bugman

Shifted the wx.NewId() calls for the spectrum list GUI element to the module namespace.

These IDs are used for the pop up menus. The change avoids repetitive calls to wx.NewId() every
time a right click occurs, conserving wx IDs so that they are not exhausted when running the test
suite or running the GUI for a long time.

2014-11-12 16:38:25 Tree
[r26545] by bugman

Shifted a number of wx.NewId() calls to the module namespace to conserve IDs.

These are for the menus in the main window and in the spin view window.

2014-11-12 16:28:42 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.